prog8/compiler/test/comparisons/Makefile
2024-03-02 23:19:39 +01:00

22 lines
440 B
Makefile

.PHONY: all clean test
all: test
clean:
rm -f *.prg *.p8ir *.asm *.vice-* test_*.p8
test: clean generate test_prgs
generate:
python make_eq_tests.py
p8compile -target cx16 -sourcelines *.p8 >/dev/null
test_prgs:
x16emu -run -prg ifelse.prg
x16emu -run -prg optimized_compares.prg
x16emu -run -prg more_compares.prg
for program in test*.prg; do \
echo "RUNNING:" $$program ; \
x16emu -run -prg $$program >/dev/null ; \
done