1996-09-09 08:02:04 -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 \
|
|
|
|
testio.byt testsocket.byt testwait.byt testsignal.byt
|
|
|
|
|
|
|
|
!include ../../../config/Makefile.nt
|
|
|
|
|
1997-09-04 06:46:50 -07:00
|
|
|
CAMLC=..\..\..\boot\ocamlrun ..\..\..\ocamlc -I .. -I ..\..\win32unix -I ..\..\..\stdlib
|
1997-09-02 09:01:39 -07:00
|
|
|
CAMLOPT=..\..\..\boot\ocamlrun ..\..\..\ocamlopt -I .. -I ..\..\win32unix -I ..\..\..\stdlib
|
|
|
|
|
1996-09-09 08:02:04 -07:00
|
|
|
all: $(PROGS)
|
|
|
|
|
1997-09-02 09:01:39 -07:00
|
|
|
allopt: $(PROGS:.byt=.out)
|
|
|
|
|
1996-09-09 08:02:04 -07:00
|
|
|
clean:
|
1997-09-02 09:01:39 -07:00
|
|
|
rm -f *.cm* *.byt *.out
|
1996-09-09 08:02:04 -07:00
|
|
|
rm -f $(PROGS:.byt=.ml)
|
|
|
|
|
1997-09-02 09:01:39 -07:00
|
|
|
.SUFFIXES: .ml .byt .out
|
1996-09-09 08:02:04 -07:00
|
|
|
|
|
|
|
{..\..\threads\Tests}.ml{}.byt:
|
|
|
|
cp ../../threads/Tests/$*.ml $*.ml
|
1997-09-02 09:01:39 -07:00
|
|
|
$(CAMLC) -custom -o $*.byt unix.cma threads.cma $*.ml ..\libthreads.lib ..\..\win32unix\libunix.lib wsock32.lib
|
|
|
|
|
|
|
|
{..\..\threads\Tests}.ml{}.out:
|
|
|
|
cp ../../threads/Tests/$*.ml $*.ml
|
|
|
|
$(CAMLOPT) -o $*.out unix.cmxa threads.cmxa $*.ml ..\libthreadsnat.lib ..\..\win32unix\libunix.lib wsock32.lib
|
1996-09-09 08:02:04 -07:00
|
|
|
|
1997-09-02 09:01:39 -07:00
|
|
|
$(PROGS): ../threads.cma ../libthreads.lib
|
|
|
|
$(PROGS:.byt=.out): ../threads.cmxa ../libthreadsnat.lib
|