-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·28 lines (20 loc) · 816 Bytes
/
Makefile
File metadata and controls
executable file
·28 lines (20 loc) · 816 Bytes
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
default: bin/main.nes
bin/main.nes: bin/asm6 generated/main.asm generated/undertale_a.chr generated/undertale_b.chr \
generated/graphic_LesserDog.asm generated/graphic_Options.asm
cd generated; \
../bin/asm6 -L main.asm ../bin/main.nes ../bin/main.lst
bin/asm6: tools/asm6.c
gcc $^ -o $@
generated/main.asm: src/*.asm
./scripts/transform-asm.py < src/main.asm > $@
generated/graphic_Options.asm: graphics/Options.graphic
./scripts/compile-graphic.py $< undertale_a.chr > $@
generated/graphic_LesserDog.asm: graphics/LesserDog.graphic
./scripts/compile-graphic.py $< undertale_b.chr > $@
generated/undertale_a.chr: chrsets/undertale_a.chr
./scripts/simplify-chrset.py $@ $^
generated/undertale_b.chr: chrsets/undertale_b.chr
./scripts/simplify-chrset.py $@ $^
clean:
rm -f generated/*
rm -f bin/*