From 8456506c0b9c8e78eec2cc464851cef36ca03398 Mon Sep 17 00:00:00 2001 From: Alex AUVOLAT Date: Sun, 25 May 2014 21:54:20 +0200 Subject: Revise build system. --- src/Makefile | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index dca72f6..0662993 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,13 +1,15 @@ -OCAMLBUILD=ocamlbuild -classic-display \ - -tags annot,debug,thread \ - -libs unix +CAML=example.ml primes.ml \ + manager.ml poolserver.ml poolclient.ml \ + kahn_pipe.ml kahn_seq.ml kahn_stdio.ml \ + proto.ml util.ml -all: primes.native example.native manager.native poolserver.native poolclient.native +BIN=example.native primes.native \ + manager.native poolserver.native poolclient.native -%.native: %.ml kahn_pipe.ml kahn_seq.ml kahn_stdio.ml proto.ml util.ml - $(OCAMLBUILD) $@ +all: $(CAML) + ocamlbuild $(BIN) clean: - $(OCAMLBUILD) -clean + ocamlbuild -clean -- cgit v1.2.3