summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/Makefile b/src/Makefile
index ed9aa69..ebd2516 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,19 +1,13 @@
OCAMLBUILD=ocamlbuild -classic-display \
-tags annot,debug,thread \
-libs unix
-TARGET=native
-primes:
- $(OCAMLBUILD) primes.$(TARGET)
+all: primes.native example.native manager.native
-example:
- $(OCAMLBUILD) example.$(TARGET)
+%.native: %.ml kahn_pipe.ml kahn_seq.ml kahn_stdio.ml proto.ml util.ml
+ $(OCAMLBUILD) $@
clean:
$(OCAMLBUILD) -clean
-realclean: clean
- rm -f *~
-
-cleanall: realclean