1
0
mirror of https://github.com/rzzzwilson/pymlac.git synced 2025-06-10 09:32:41 +00:00
Files
rzzzwilson.pymlac/pymlac/Makefile
2015-11-06 17:19:19 +07:00

26 lines
508 B
Makefile

#
# Simple make file just to clean this directory.
# And run the test files.
#
test: test.ptr
rm -f test.ptp CPU.test.trace test_CPU.log
python test_CPU.py CPU.test
test.ptr:
./make_ptr > test.ptr
%: %.ptp
./pymlac -b ptr -ptr $< -r 040 -t 0100 -r 0100
diff pymlac.trace good_$*.trace | head -10
mv pymlac.trace $*.trace
%.ptp: %.asm
../iasm/iasm -l $*.lst $<
lst: $(TESTS)
../iasm/iasm -l $*.lst $<
clean:
rm -Rf *.pyc *~ *.out test_*.ptp *.lst test_*.trace _#*#_.* CPU.test.trace.* test.ptr