eris2010

Documentation: http://frombelow.net/projects/eris2010/
Clone: git clone https://git.frombelow.net/eris2010.git
Log | Files | Refs | README | LICENSE

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