cscg22-gearboy

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

Makefile (387B)


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