| 1 | # |
| 2 | # Makefile for testing hexadecimal notation on command line args |
| 3 | # |
| 4 | |
| 5 | DASM=../../bin/dasm |
| 6 | FTOHEX=../../bin/ftohex |
| 7 | |
| 8 | test: |
| 9 | @../run_tests.sh -R ../../bin -D RAM_START=0x60 |
| 10 | |
| 11 | %.bin: %.asm |
| 12 | $(DASM) $< -o$@ -f1 -T1 -s$*.sym -DRAM_START=0x60 |
| 13 | |
| 14 | %.hex: %.bin |
| 15 | $(FTOHEX) 1 $< $@ |
| 16 | |
| 17 | clean: |
| 18 | rm -rf *.bin *.hex *.list.txt *.diff *.sym *.out |