eris2010

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

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