]> gitweb.michael.orlitzky.com - hath.git/blob - makefile
Initial commit; the first thing that would compile and produce sane output.
[hath.git] / makefile
1 BIN=hath
2
3 all: $(BIN)
4
5 $(BIN): src/*.hs
6 ghc -O2 -Wall --make -o bin/${BIN} src/*.hs
7
8 profile: src/*.hs
9 ghc -O2 -Wall -prof -auto-all --make -o bin/$(BIN) src/*.hs
10
11 clean:
12 rm -f bin/$(BIN)
13 rm -f src/*.hi
14 rm -f src/*.o
15 rm -f *.prof