mirror of
https://github.com/irmen/prog8.git
synced 2024-12-12 12:29:11 +00:00
abbf7c7cb0
fat jar file also changed: prog8c-X.Y-all.jar (was: prog8compiler-X.Y-all.jar)
25 lines
528 B
Makefile
25 lines
528 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
|
|
python make_eq_tests_splitw.py
|
|
python make_cmp_tests.py
|
|
python make_cmp_tests_splitw.py
|
|
prog8c -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
|