Makefile (449B)
1 TARGET=microchess 2 3 CFLAGS=-Wno-implied-reg --line-numbers --tab-size=1 -Wall -c -b -I../../../eris2010/roms/os/ 4 5 all: $(TARGET).bin $(TARGET)_symon.bin 6 7 %.bin: %.asm 8 64tass $(CFLAGS) -DSYMON=false -l $(TARGET).l -L $(TARGET).lst "$<" -o "$@" 9 10 %_symon.bin: %.asm 11 64tass $(CFLAGS) -DSYMON=true -l $(TARGET)_symon.l -L $(TARGET)_symon.lst "$<" -o "$@" 12 13 upload: $(TARGET).bin 14 ../../eris2010/tools/boot.py $(TARGET).bin 15 16 clean: 17 rm -f *.bin *.l *.lst