gc: delegated mallocs in GarbageAlloc to hs-boehmgc (Mate.GC.Boehm.mallocBytes);
[mate.git] / Makefile
index 6dececa0d35ad99eafa605a74e38a10a24731275..b0a440ddfc97cbb1c05324873435cbe51931f14e 100644 (file)
--- 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