Say hi.
[cellular-automata.git] / polymorphic-life / 001 / Makefile
1 .PHONY: build clean
2
3 EXE_TYPE := native
4
5 build:
6 $(eval executable_name := polymorphic_life)
7 $(eval executable_name_ext := $(executable_name).$(EXE_TYPE))
8 @ocamlbuild \
9 -use-ocamlfind \
10 -package core \
11 -tag thread \
12 src/$(executable_name_ext)
13 @mkdir -p bin/
14 @cp _build/src/$(executable_name_ext) bin/$(executable_name)
15 @rm $(executable_name_ext)
16
17 clean:
18 @ocamlbuild -clean
19 @rm -rf bin/
This page took 0.063782 seconds and 4 git commands to generate.