X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=Makefile;h=b0a440ddfc97cbb1c05324873435cbe51931f14e;hb=94a3c50f1c43a7001791fed77560f268fc6d72a3;hp=6dececa0d35ad99eafa605a74e38a10a24731275;hpb=2d2ede5cfdc2593200759b3006061e83c3b609ea;p=mate.git diff --git a/Makefile b/Makefile index 6dececa..b0a440d 100644 --- a/Makefile +++ b/Makefile @@ -18,7 +18,7 @@ PACKAGES := $(addprefix -package ,$(PACKAGES_)) # use `cpphs' GHC_CPP := -cpp -pgmP cpphs -optP --cpp -GHC_OPT = -I. -O0 -Wall -fno-warn-unused-do-bind +GHC_OPT = -I. -O0 -Wall -fno-warn-unused-do-bind -fwarn-tabs # see *.gdb target. also useful for profiling (-p at call) GHC_OPT += -rtsopts # -prof -auto-all GHC_OPT += $(GHC_CPP) @@ -74,13 +74,13 @@ DEBUGFLAGS = -DDBG_JIT -DDBG_MP else DEBUGFLAGS = ${DBGFLAGS} endif -mate.dbg: Mate.hs ffi/trap.c $(HS_FILES) $(HS_BOOT) ffi/native.o +mate.dbg: Mate.hs ffi/trap.c $(HS_FILES) $(HS_BOOT) ffi/native.o $(CLASS_FILES) @mkdir -p $(B_DEBUG)/{ffi,Mate,} gcc -Wall $(DEBUGFLAGS) -O0 -c ffi/trap.c -o $(B_DEBUG)/ffi/trap.o ghc --make $(DEBUGFLAGS) $(GHC_OPT) Mate.hs $(B_DEBUG)/ffi/trap.o -o $@ $(GHC_LD) -outputdir $(B_DEBUG) clean: - rm -rf $(BUILD) mate mate.static mate.dbg tags ffi/native.o \ + rm -rf $(BUILD) mate mate.static mate.dbg ffi/native.o \ tests/*.class Mate/*_stub.* \ jmate/lang/*.class jmate/io/*.class java/io/*.class \ java/lang/{Integer,Character,String,System}.class