eris2010

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

Makefile.common (534B)


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