Commit | Line | Data |
---|---|---|
67f57217 SK |
1 | COMPILER="ocamlopt" |
2 | OBJ_EXT="cmx" | |
3 | ||
4 | ||
5 | compile: | |
6 | @mkdir -p bin | |
7 | @ocamlfind $(COMPILER) -linkpkg -package unix \ | |
8 | -o bin/life \ | |
9 | src/life.ml | |
10 | ||
11 | ||
12 | clean: | |
13 | @rm -rf bin | |
14 | @find ./src \ | |
15 | -name \*.o \ | |
16 | -or -name \*.cmi \ | |
17 | -or -name \*.$(OBJ_EXT) \ | |
18 | | xargs rm -f |