debversioncomp/Makefile

18 lines
391 B
Makefile
Raw Normal View History

2014-06-01 08:31:24 +00:00
testinput: run.py
./run.py > testinput
testdpkg: testdpkg.c
gcc testdpkg.c -ldpkg -o testdpkg
testapt: testapt.cc
g++ testapt.cc -lapt-pkg -o testapt
testdose: testdose.ml
ocamlfind ocamlc -package dose3 -linkpkg testdose.ml -o testdose
.PHONY: test
test: testinput testdpkg testapt
./rundpkg.sh < testinput | md5sum
./testapt < testinput | md5sum
./testdose < testinput | md5sum