cscg22-gearboy

CSCG 2022 Challenge 'Gearboy'
git clone https://git.sinitax.com/sinitax/cscg22-gearboy
Log | Files | Refs | sfeed.txt

Makefile (402B)


      1GBDK	= ../../..
      2CC	= $(GBDK)/bin/lcc -msm83:ap -Wl-j -Wm-yS
      3
      4BINS	= space.pocket
      5
      6all:	$(BINS)
      7
      8compile.bat: Makefile
      9	@echo "REM Automatically generated from Makefile" > compile.bat
     10	@make -sn | sed y/\\//\\\\/ | grep -v make >> compile.bat
     11
     12# Compile and link single file in one pass
     13%.pocket:	%.s
     14	$(CC) -o $@ $<
     15
     16clean:
     17	rm -f *.o *.lst *.map *.pocket *~ *.rel *.cdb *.ihx *.lnk *.sym *.asm *.noi
     18