diff options
author | Alex AUVOLAT <alex.auvolat@ens.fr> | 2014-05-25 21:54:20 +0200 |
---|---|---|
committer | Alex AUVOLAT <alex.auvolat@ens.fr> | 2014-05-25 21:54:20 +0200 |
commit | 8456506c0b9c8e78eec2cc464851cef36ca03398 (patch) | |
tree | 497522a4422a1290ac3dae006c2808c293216c5d /src/Makefile | |
parent | 60ba54ffe01be85ec6f1d6948c1ca4b6db1cf165 (diff) | |
download | SystemeReseaux-Projet-8456506c0b9c8e78eec2cc464851cef36ca03398.tar.gz SystemeReseaux-Projet-8456506c0b9c8e78eec2cc464851cef36ca03398.zip |
Revise build system.
Diffstat (limited to 'src/Makefile')
-rw-r--r-- | src/Makefile | 16 |
1 files changed, 9 insertions, 7 deletions
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 |