cscg22-gearboy

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

Makefile.targets (1000B)


      1
      2# Platform specific flags for compiling (only populate if they're both present)
      3ifneq ($(strip $(PORT)),)
      4ifneq ($(strip $(PLAT)),)
      5CFLAGS += -m$(PORT):$(PLAT)
      6endif
      7endif
      8
      9# Called by the individual targets below to build a ROM
     10build-target: $(BINS)
     11
     12clean-target:
     13	rm -rf $(OBJDIR)
     14	rm -rf $(BINDIR)
     15
     16gb-clean:
     17	${MAKE} clean-target EXT=gb
     18gb:
     19	${MAKE} build-target PORT=sm83 PLAT=gb EXT=gb
     20
     21
     22gbc-clean:
     23	${MAKE} clean-target EXT=gbc
     24gbc:
     25	${MAKE} build-target PORT=sm83 PLAT=gb EXT=gbc
     26
     27
     28pocket-clean:
     29	${MAKE} clean-target EXT=pocket
     30pocket:
     31	${MAKE} build-target PORT=sm83 PLAT=ap EXT=pocket
     32
     33
     34megaduck-clean:
     35	${MAKE} clean-target EXT=duck
     36megaduck:
     37	${MAKE} build-target PORT=sm83 PLAT=duck EXT=duck
     38
     39
     40sms-clean:
     41	${MAKE} clean-target EXT=sms
     42sms:
     43	${MAKE} build-target PORT=z80 PLAT=sms EXT=sms
     44
     45
     46gg-clean:
     47	${MAKE} clean-target EXT=gg
     48gg:
     49	${MAKE} build-target PORT=z80 PLAT=gg EXT=gg
     50
     51msxdos-clean:
     52	${MAKE} clean-target EXT=com
     53msxdos:
     54	${MAKE} build-target PORT=z80 PLAT=msxdos EXT=com
     55