mirror of
https://github.com/rzzzwilson/pymlac.git
synced 2025-06-10 09:32:41 +00:00
22 lines
413 B
Makefile
22 lines
413 B
Makefile
#
|
|
# Simple make file just to clean this directory.
|
|
# And run the test files.
|
|
#
|
|
|
|
test:
|
|
python test_CPU.py CPU.test
|
|
|
|
%: %.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.*
|