projects
/
mate.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Makefile: build all class files in tests/
[mate.git]
/
Makefile
1
JAVAC = javac
2
JAVA_FILES := $(wildcard tests/*.java)
3
CLASS_FILES := $(JAVA_FILES:.java=.class)
4
5
all: mate $(CLASS_FILES)
6
./mate tests/Test.class
7
8
%.class: %.java
9
javac $<
10
11
mate: Mate.hs ./src/Utilities.hs trap.c
12
ghc --make -Wall -O2 $^ -o $@
13
14
clean:
15
rm -f *.hi *.o mate src/*.class