]> matita.cs.unibo.it Git - fireball-separation.git/blobdiff - ocaml/Makefile
Encoding of SAT problems and 3-colorability of graphs
[fireball-separation.git] / ocaml / Makefile
index b44d9c51460cc62e1f8c130c185c59d5d2a12c01..0f00f1457f7a1adef14ca1a6c6c85b477c627931 100644 (file)
@@ -1,20 +1,21 @@
 OCAMLC = ocamlopt -g -rectypes
 LIB = unix.cmxa str.cmxa
-UTILS = parser.cmx console.cmx listx.cmx util.cmx pure.cmx num.cmx
+UTILS = util.cmx console.cmx listx.cmx pure.cmx num.cmx parser.cmx
 
 all: a.out test4.out
        # test.out
 
-run: FORCE test4.out
+run: test4.out
        bash run
 
-FORCE:
-
 a.out: $(UTILS) lambda4.cmx problems.cmx
        $(OCAMLC) -o a.out $(LIB) $^
 
 # test.out: $(UTILS) lambda3.cmx test1.ml
 #      $(OCAMLC) -o test.out $(LIB) $^
+
+sat.out: $(UTILS) lambda4.cmx sat.ml
+       $(OCAMLC) -o sat.out $(LIB) $^
 #
 test4.out: $(UTILS) lambda4.cmx test.ml
        $(OCAMLC) -o test4.out $(LIB) $^