mirror of
https://github.com/irmen/prog8.git
synced 2024-11-07 22:09:01 +00:00
19 lines
314 B
Makefile
19 lines
314 B
Makefile
.PHONY: all clean test
|
|
|
|
all: test
|
|
|
|
clean:
|
|
rm -f *.prg *.asm *.vice-* test_*.p8
|
|
|
|
test: clean generate test_prgs
|
|
|
|
generate:
|
|
python make_tests.py
|
|
p8compile -noopt -target cx16 *.p8 >/dev/null
|
|
|
|
test_prgs:
|
|
for program in *.prg; do \
|
|
echo "RUNNING:" $$program ; \
|
|
x16emu -run -prg $$program >/dev/null ; \
|
|
done
|