28 lines
383 B
Makefile
28 lines
383 B
Makefile
all: quox
|
|
|
|
quox:
|
|
(cd exe; sirdi build)
|
|
ln -sf exe/build/exec/main $@
|
|
|
|
quox-tests:
|
|
(cd tests; sirdi build)
|
|
ln -sf tests/build/exec/main $@
|
|
|
|
.PHONY: lib
|
|
lib:
|
|
sirdi build
|
|
|
|
.PHONY: test
|
|
test: quox-tests
|
|
./quox-tests -V 14
|
|
|
|
.PHONY: prove
|
|
prove: quox-tests
|
|
prove ./quox-tests
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
$(RM) quox quox-tests
|
|
sirdi clean
|
|
(cd exe; sirdi clean)
|
|
(cd tests; sirdi clean)
|