1996-09-09 05:35:10 -07:00
|
|
|
PROGS=test1.byt test2.byt test3.byt test4.byt test5.byt test6.byt \
|
|
|
|
test7.byt test8.byt test9.byt testA.byt sieve.byt \
|
1997-05-14 02:43:45 -07:00
|
|
|
testio.byt testsocket.byt testwait.byt testsignal.byt torture.byt
|
1996-09-09 05:35:10 -07:00
|
|
|
|
|
|
|
include ../../../config/Makefile
|
|
|
|
|
|
|
|
VPATH=../../threads/Tests
|
|
|
|
|
1997-05-14 02:43:45 -07:00
|
|
|
CAMLC=../../../boot/ocamlrun ../../../ocamlc -I .. -I ../../unix -I ../../../stdlib
|
|
|
|
|
1996-09-09 05:35:10 -07:00
|
|
|
all: $(PROGS)
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.cm* *.byt
|
|
|
|
rm -f $(PROGS:.byt=.ml)
|
|
|
|
|
|
|
|
.SUFFIXES: .ml .byt
|
|
|
|
|
|
|
|
.ml.byt:
|
|
|
|
cp ../../threads/Tests/$*.ml $*.ml
|
1997-05-14 02:43:45 -07:00
|
|
|
$(CAMLC) -custom -o $*.byt unix.cma threads.cma $*.ml ../libthreads.a ../../unix/libunix.a -cclib -lpthread
|
1996-09-09 05:35:10 -07:00
|
|
|
|
|
|
|
$(PROGS): ../threads.cma ../libthreads.a ../stdlib.cma
|