forked from Lui37/dkc2-hack
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (16 loc) · 893 Bytes
/
Makefile
File metadata and controls
23 lines (16 loc) · 893 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
AS := asar.exe
AFLAGS := --fix-checksum=off
all: j1.0 j1.1 u1.0 u1.1 j1.1ss
j1.0:
cp sfc/dkc2_j1.0.sfc target/dkc2hack_j1.0.sfc && cd src && $(AS) $(AFLAGS) -Drom_revision=0 main.asm ../target/dkc2hack_j1.0.sfc && cd -
j1.1:
cp sfc/dkc2_j1.1.sfc target/dkc2hack_j1.1.sfc && cd src && $(AS) $(AFLAGS) -Drom_revision=1 main.asm ../target/dkc2hack_j1.1.sfc && cd -
u1.0:
cp sfc/dkc2_u1.0.sfc target/dkc2hack_u1.0.sfc && cd src && $(AS) $(AFLAGS) -Drom_revision=0 main.asm ../target/dkc2hack_u1.0.sfc && cd -
u1.1:
cp sfc/dkc2_u1.1.sfc target/dkc2hack_u1.1.sfc && cd src && $(AS) $(AFLAGS) -Drom_revision=1 main.asm ../target/dkc2hack_u1.1.sfc && cd -
j1.1ss:
cp "sfc/DKC2 Practice 0.10.sfc" "target/DKC2 Practice 0.10 + timer.sfc" && cd src && $(AS) $(AFLAGS) -Drom_revision=1 main.asm "../target/DKC2 Practice 0.10 + timer.sfc" && cd -
.PHONY: all, clean
clean:
rm -f target/*.sfc