gbdk-2020 | GameBoy Development Kit |
| download: https://git.y1.nz/archives/gbdk.tar.gz | |
| README | Files | Log | Refs | LICENSE |
gbdk-lib/examples/cross-platform/gbprinter/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 $(BINDIR)
15
16 gb-clean:
17 ${MAKE} clean-target EXT=gb
18 gb:
19 ${MAKE} build-target PORT=sm83 PLAT=gb EXT=gb
20
21
22 gbc-clean:
23 ${MAKE} clean-target EXT=gbc
24 gbc:
25 ${MAKE} build-target PORT=sm83 PLAT=gb EXT=gbc
26
27
28 pocket-clean:
29 ${MAKE} clean-target EXT=pocket
30 pocket:
31 ${MAKE} build-target PORT=sm83 PLAT=ap EXT=pocket
32
33
34 megaduck-clean:
35 ${MAKE} clean-target EXT=duck
36 megaduck:
37 ${MAKE} build-target PORT=sm83 PLAT=duck EXT=duck
38
39
40 sms-clean:
41 ${MAKE} clean-target EXT=sms
42 sms:
43 ${MAKE} build-target PORT=z80 PLAT=sms EXT=sms
44
45
46 gg-clean:
47 ${MAKE} clean-target EXT=gg
48 gg:
49 ${MAKE} build-target PORT=z80 PLAT=gg EXT=gg
50
51
52 nes-clean:
53 ${MAKE} clean-target EXT=nes
54 nes:
55 ${MAKE} build-target PORT=mos6502 PLAT=nes EXT=nes
56
This webpage is intended to be an accessible preview of this repository. To get a fuller picture, clone it and use the git CLI.