]> gitweb.michael.orlitzky.com - hath.git/blob - makefile
Added a "test" makefile target.
[hath.git] / makefile
1 BIN=hath
2
3 .PHONY : test
4
5 all: $(BIN)
6
7 $(BIN): src/*.hs
8 ghc -O2 -Wall --make -o bin/${BIN} src/*.hs
9
10 profile: src/*.hs
11 ghc -O2 -Wall -prof -auto-all --make -o bin/$(BIN) src/*.hs
12
13 clean:
14 rm -f bin/$(BIN)
15 rm -f src/*.hi
16 rm -f src/*.o
17 rm -f *.prof
18
19 test:
20 runghc -i"src" test/TestSuite.hs