2021-03-17 01:36:57 +01:00
|
|
|
.PHONY: all clean test
|
|
|
|
|
|
|
|
all: test
|
|
|
|
|
|
|
|
clean:
|
|
|
|
rm -f *.prg *.asm *.vice-* test_*.p8
|
|
|
|
|
2021-03-18 01:14:22 +01:00
|
|
|
test: clean generate test_prgs
|
|
|
|
|
|
|
|
generate:
|
2021-03-17 01:36:57 +01:00
|
|
|
python make_tests.py
|
2021-03-18 00:26:41 +01:00
|
|
|
p8compile -noopt -target cx16 *.p8 >/dev/null
|
2021-03-18 01:14:22 +01:00
|
|
|
|
|
|
|
test_prgs:
|
2023-04-09 15:06:40 +02:00
|
|
|
x16emu -run -prg more_compares.prg
|
2021-03-17 01:36:57 +01:00
|
|
|
for program in *.prg; do \
|
|
|
|
echo "RUNNING:" $$program ; \
|
2021-03-18 00:26:41 +01:00
|
|
|
x16emu -run -prg $$program >/dev/null ; \
|
2021-03-17 01:36:57 +01:00
|
|
|
done
|