summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>1997-10-24 15:53:09 +0000
committerXavier Leroy <xavier.leroy@inria.fr>1997-10-24 15:53:09 +0000
commit88bfb0bbe69e1bd2ee737a321f3641a53e272bc7 (patch)
tree3bbc48612a3f5f2bb5561ec450bffe64554c5793
parented65220053799dabbd3ae5a0fd3ffe908cb35d01 (diff)
MAJ
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1739 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
-rw-r--r--otherlibs/systhreads/Tests/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/otherlibs/systhreads/Tests/Makefile b/otherlibs/systhreads/Tests/Makefile
index 4e684887c..7e471f059 100644
--- a/otherlibs/systhreads/Tests/Makefile
+++ b/otherlibs/systhreads/Tests/Makefile
@@ -4,8 +4,6 @@ PROGS=test1.byt test2.byt test3.byt test4.byt test5.byt test6.byt \
include ../../../config/Makefile
-VPATH=../../threads/Tests
-
CAMLC=../../../boot/ocamlrun ../../../ocamlc -I .. -I ../../unix -I ../../../stdlib
CAMLOPT=../../../boot/ocamlrun ../../../ocamlopt -I .. -I ../../unix -I ../../../stdlib
@@ -18,14 +16,12 @@ clean:
rm -f *.cm* *.byt *.out
rm -f $(PROGS:.byt=.ml)
-.SUFFIXES: .ml .byt .out
-
-.ml.byt:
+%.byt: ../../threads/Tests/%.ml
cp ../../threads/Tests/$*.ml $*.ml
$(CAMLC) -custom -o $*.byt unix.cma threads.cma $*.ml ../libthreads.a ../../unix/libunix.a -cclib -lpthread
-.ml.out:
+%.out: ../../threads/Tests/%.ml
cp ../../threads/Tests/$*.ml $*.ml
$(CAMLOPT) -o $*.out unix.cmxa threads.cmxa $*.ml ../libthreadsnat.a ../../unix/libunix.a -cclib -lpthread
-$(PROGS): ../threads.cma ../libthreads.a ../stdlib.cma
+$(PROGS): ../threads.cma ../libthreads.a