40aae7d301d2cc99e821be45c8c2e416df67d8c0
[cellular-automata.git] / 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.038427 seconds and 3 git commands to generate.