Files
Larold a964a84cc3 Feature/text & dialogue example (#712)
Text and dialog examples by larold
(Looks good, merging)
2024-11-17 16:25:17 -08:00

56 lines
1005 B
XML

# Platform specific flags for compiling (only populate if they're both present)
ifneq ($(strip $(PORT)),)
ifneq ($(strip $(PLAT)),)
CFLAGS += -m$(PORT):$(PLAT)
endif
endif
# Called by the individual targets below to build a ROM
build-target: png2asset $(BINS)
clean-target:
rm -rf $(OBJDIR)
rm -rf $(BINDIR)
gb-clean:
${MAKE} clean-target EXT=gb
gb:
${MAKE} build-target PORT=sm83 PLAT=gb EXT=gb
gbc-clean:
${MAKE} clean-target EXT=gbc
gbc:
${MAKE} build-target PORT=sm83 PLAT=gb EXT=gbc
pocket-clean:
${MAKE} clean-target EXT=pocket
pocket:
${MAKE} build-target PORT=sm83 PLAT=ap EXT=pocket
megaduck-clean:
${MAKE} clean-target EXT=duck
megaduck:
${MAKE} build-target PORT=sm83 PLAT=duck EXT=duck
sms-clean:
${MAKE} clean-target EXT=sms
sms:
${MAKE} build-target PORT=z80 PLAT=sms EXT=sms
gg-clean:
${MAKE} clean-target EXT=gg
gg:
${MAKE} build-target PORT=z80 PLAT=gg EXT=gg
nes-clean:
${MAKE} clean-target EXT=nes
nes:
${MAKE} build-target PORT=mos6502 PLAT=nes EXT=nes