git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1739 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Xavier Leroy 1997-10-24 15:53:09 +00:00
parent ed65220053
commit 88bfb0bbe6
1 changed files with 3 additions and 7 deletions

View File

@ -4,8 +4,6 @@ PROGS=test1.byt test2.byt test3.byt test4.byt test5.byt test6.byt \
include ../../../config/Makefile include ../../../config/Makefile
VPATH=../../threads/Tests
CAMLC=../../../boot/ocamlrun ../../../ocamlc -I .. -I ../../unix -I ../../../stdlib CAMLC=../../../boot/ocamlrun ../../../ocamlc -I .. -I ../../unix -I ../../../stdlib
CAMLOPT=../../../boot/ocamlrun ../../../ocamlopt -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 *.cm* *.byt *.out
rm -f $(PROGS:.byt=.ml) rm -f $(PROGS:.byt=.ml)
.SUFFIXES: .ml .byt .out %.byt: ../../threads/Tests/%.ml
.ml.byt:
cp ../../threads/Tests/$*.ml $*.ml cp ../../threads/Tests/$*.ml $*.ml
$(CAMLC) -custom -o $*.byt unix.cma threads.cma $*.ml ../libthreads.a ../../unix/libunix.a -cclib -lpthread $(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 cp ../../threads/Tests/$*.ml $*.ml
$(CAMLOPT) -o $*.out unix.cmxa threads.cmxa $*.ml ../libthreadsnat.a ../../unix/libunix.a -cclib -lpthread $(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