test/Makefile
Matthieu Dubuget ea1e853d0b Commit initial
2019-04-13 13:47:57 +02:00

19 lines
286 B
Makefile
Executable File

.PHONY: clean
all: tst.dll
cp tst_stub/mytst.h test
cp _build/default/dll/tst.dll test
cd test && i686-w64-mingw32-gcc -o test.exe tst.dll test.c
clean:
dune clean
cd test && rm mytst.h test.exe tst.dll
tst.dll:
dune build
test: all
cd test && ./test.exe