Forest-fire model 001.
[cellular-automata.git] / forest-fire / 001 / Makefile
diff --git a/forest-fire/001/Makefile b/forest-fire/001/Makefile
new file mode 100644 (file)
index 0000000..7da721b
--- /dev/null
@@ -0,0 +1,18 @@
+COMPILER="ocamlopt"
+OBJ_EXT="cmx"
+
+
+compile:
+       @mkdir -p bin
+       @ocamlfind $(COMPILER) -linkpkg -package unix \
+                       -o bin/forest_fire \
+                          src/forest_fire.ml
+
+
+clean:
+       @rm -rf bin
+       @find src \
+                   -iname '*.o' \
+               -or -iname '*.cmi' \
+               -or -iname '*.$(OBJ_EXT)' \
+               | xargs rm
This page took 0.021 seconds and 4 git commands to generate.