-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathexamples.makefile
69 lines (52 loc) · 1.83 KB
/
examples.makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
# default target
default: compile
# commands and tools
include config.makefile
# packer; must match the included unpacker routine
PACK_EXTENSION=zx0
#
# paths and file lists
#
ROM=\
games\examples\00minimal\minimal.rom \
games\examples\01basic\basic.rom \
games\examples\02snake\snake.rom \
games\examples\03minimal48kb\minimal48kb.rom \
games\examples\pt3music\pt3music.rom \
games\examples\wyzmusic\wyzmusic.rom
SYM=\
games\examples\00minimal\minimal.sym \
games\examples\01basic\basic.sym \
games\examples\02snake\snake.sym \
games\examples\03minimal48kb\minimal48kb.sym \
games\examples\pt3music\pt3music.sym \
games\examples\wyzmusic\wyzmusic.sym
SHARED_DATAS=\
games\examples\shared\charset.png.chr.$(PACK_EXTENSION) \
games\examples\shared\charset.png.clr.$(PACK_EXTENSION) \
games\examples\shared\sprites.png.spr.$(PACK_EXTENSION) \
games\examples\shared\screen.tmx.bin.$(PACK_EXTENSION)
SHARED_DATAS_INTERMEDIATE=\
games\examples\shared\charset.png.chr \
games\examples\shared\charset.png.clr \
games\examples\shared\sprites.png.spr \
games\examples\shared\screen.tmx.bin
#
# targets
#
# default targets
include msxlib.makefile
games\examples\00minimal\minimal.rom: games\examples\00minimal\minimal.asm $(MSXLIB)
$(ASM) $< $@
games\examples\01basic\basic.rom: games\examples\01basic\basic.asm $(MSXLIB) $(SHARED_DATAS)
$(ASM) $< $@
games\examples\02snake\snake.rom: games\examples\02snake\snake.asm $(MSXLIB) $(SHARED_DATAS)
$(ASM) $< $@
games\examples\03minimal48kb\minimal48kb.rom: games\examples\03minimal48kb\minimal48kb.asm $(MSXLIB) $(SHARED_DATAS)
$(ASM) $< $@
games\examples\pt3music\pt3music.rom: games\examples\pt3music\pt3music.asm $(MSXLIB)
$(ASM) $< $@
games\examples\wyzmusic\wyzmusic.rom: games\examples\wyzmusic\wyzmusic.asm $(MSXLIB)
$(ASM) $< $@
# secondary targets
.secondary: $(SHARED_DATAS_INTERMEDIATE)