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 -msm83:ap -Wl-j -Wm-yS
      2
      3BINS	= crash.pocket
      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%.pocket:	%.c
     13	$(CC) -o $@ $<
     14
     15clean:
     16	rm -f *.o *.lst *.map *.pocket *~ *.rel *.cdb *.ihx *.lnk *.sym *.asm *.noi
     17