Makefile.common (506B)
1 CFLAGS=-C --line-numbers --tab-size=1 -Wall -c -b -I../../../roms/os/ 2 VERSION="$(shell git describe --tags)" 3 4 all: $(TARGET).bin $(TARGET)_symon.bin 5 6 %.bin: %.asm 7 64tass $(CFLAGS) $(DEFS) -DVERSION="'$(VERSION)'" -DSYMON=false -l $(TARGET).l -L $(TARGET).lst "$<" -o "$@" 8 9 %_symon.bin: %.asm 10 64tass $(CFLAGS) $(DEFS) -DVERSION="'$(VERSION)'" -DSYMON=true -l $(TARGET)_symon.l -L $(TARGET)_symon.lst "$<" -o "$@" 11 12 upload: $(TARGET).bin 13 ../../../tools/boot.py $(TARGET).bin 14 15 clean: 16 rm -f *.bin *.l *.lst