git.y1.nz

gbdk-2020

GameBoy Development Kit
download: https://git.y1.nz/archives/gbdk.tar.gz
README | Files | Log | Refs | LICENSE

gbdk-lib/examples/cross-platform/rle_map/Makefile.targets

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

This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.