summaryrefslogtreecommitdiffstats
path: root/otherlibs
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2000-03-24 13:35:40 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2000-03-24 13:35:40 +0000
commit75d01b3755f5bdd11de88dc8233a09aa22d39a5c (patch)
treec9121d6e6464257bcfc8fae1ad143cab5b86a9cd /otherlibs
parent82a397567317a1f675fe2a73f5650dd5f4a932a0 (diff)
Adaptation nouveau systeme de bibliotheques
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2983 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs')
-rw-r--r--otherlibs/threads/Tests/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/otherlibs/threads/Tests/Makefile b/otherlibs/threads/Tests/Makefile
index b59eb9286..b0a0f3b9c 100644
--- a/otherlibs/threads/Tests/Makefile
+++ b/otherlibs/threads/Tests/Makefile
@@ -18,6 +18,7 @@ PROGS=test1.byt test2.byt test3.byt test4.byt test5.byt test6.byt \
testsieve.byt token1.byt token2.byt
CAMLC=../../../boot/ocamlrun ../../../ocamlc -I .. -I ../../../stdlib -I ../../unix
+LIBS=-ccopt -L.. -ccopt -L../../unix -ccopt -L../../graphics
include ../../../config/Makefile
@@ -27,11 +28,11 @@ clean:
rm -f *.cm* *.byt
sorts.byt: sorts.ml
- $(CAMLC) -custom -o sorts.byt -I ../../graph threads.cma graphics.cma sorts.ml ../libthreads.a ../../graph/libgraphics.a $(X11_LINK)
+ $(CAMLC) -custom -o sorts.byt -I ../../graph threads.cma graphics.cma sorts.ml $(LIBS) $(X11_LINK)
.SUFFIXES: .ml .byt
.ml.byt:
- $(CAMLC) -custom -o $*.byt unix.cma threads.cma $*.ml ../libthreads.a ../../unix/libunix.a
+ $(CAMLC) -custom -o $*.byt unix.cma threads.cma $*.ml $(LIBS)
$(PROGS): ../threads.cma ../libthreads.a