prog8/compiler/test/comparisons/Makefile
2023-08-12 13:45:08 +02:00

21 lines
384 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 -target cx16 *.p8 >/dev/null
test_prgs:
x16emu -run -prg optimized_compares.prg
x16emu -run -prg more_compares.prg
for program in *.prg; do \
echo "RUNNING:" $$program ; \
x16emu -run -prg $$program >/dev/null ; \
done