%.class: %.java
@if [ -f $(COMPILEF) ]; \
then $(SHELL) $(COMPILEF); \
- else $(JAVAC) $<; fi
+ else $(JAVAC) $(JAVA_FILES) $<; fi
@echo "JAVAC $<"
ffi/native.o: ffi/native.c
ghc --make $(DEBUGFLAGS) $(GHC_OPT) Mate.hs $(B_DEBUG)/ffi/trap.o -o $@ $(GHC_LD) -outputdir $(B_DEBUG)
clean:
- rm -rf $(BUILD) mate mate.dbg tags ffi/native.o tests/*.class Mate/*_stub.* \
+ rm -rf $(BUILD) mate mate.static mate.dbg tags ffi/native.o \
+ tests/*.class Mate/*_stub.* \
jmate/lang/*.class jmate/io/*.class java/io/*.class \
java/lang/{Integer,Character,String,System}.class