2 JAVA_FILES := $(wildcard tests/*.java)
3 CLASS_FILES := $(JAVA_FILES:.java=.class)
5 all: mate $(CLASS_FILES)
8 ./mate tests/Test.class
13 trap.o mate: Mate.hs ./src/Utilities.hs trap.c
14 ghc --make -Wall -O2 $^ -o mate
17 rm -f *.hi *.o mate src/*.class
19 tags: Mate.hs src/Utilities.hs trap.o
20 @# @-fforce-recomp, see
21 @# http://stackoverflow.com/questions/7137414/how-do-i-force-interpretation-in-hint
22 ghc -fforce-recomp -e :ctags $^