Makefile: add boot class dependency for debug build
[mate.git] / Makefile
index b4be049471295dd275955e4d2662a023f3592902..abd630f75f2ee64a194d76634ada378427b87588 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -74,7 +74,7 @@ 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)