summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorred031000 <rubenru09@aol.com>2020-06-07 21:00:20 +0100
committerred031000 <rubenru09@aol.com>2020-06-07 21:00:20 +0100
commit5f9e55a24bd8430ed6384c737ed29f949f3c8a6c (patch)
tree20c57f7d5282f0c3d272b47c4647742581258110 /Makefile
parentfce2c89d6edb6d8e6d8fbc6926b1b0784a07c984 (diff)
parentc5a0d49cbae5047021e4f036366cf87ba97da566 (diff)
Merge branch 'master' of https://github.com/martmists/pokediamond
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 7 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index b7b31dbb..c3cd2c77 100644
--- a/Makefile
+++ b/Makefile
@@ -31,9 +31,9 @@ endif
ifeq ($(OS),Windows_NT)
EXE := .exe
-WINE :=
+WINE :=
else
-EXE :=
+EXE :=
WINE := wine
endif
@@ -175,6 +175,7 @@ MWCCARM = tools/mwccarm/$(MWCCVERSION)/mwccarm.exe
# have to use mwldarm for now.
# TODO: Is there a hack workaround to let us go back to GNU LD? Ideally, the
# only dependency should be MWCCARM.
+KNARC = tools/knarc/knarc$(EXE)
MWLDARM = tools/mwccarm/$(MWCCVERSION)/mwldarm.exe
MWASMARM = tools/mwccarm/$(MWCCVERSION)/mwasmarm.exe
NARCCOMP = tools/narccomp/narccomp$(EXE)
@@ -316,15 +317,11 @@ DUMMY != mkdir -p $(ALL_DIRS)
%.png: ;
%.pal: ;
-##################### Filesystem #####################
-
-%.narc: members = $(wildcard $(@D)/$*/*.bin)
-%.narc: $$(members)
- $(NARCCOMP) -o $@ -p 255 $^
+%.narc:
+ $(KNARC) -d $(basename $@)/ -p $@
-%.arc: members = $(wildcard $(@D)/$*/*.bin)
-%.arc: $$(members)
- $(NARCCOMP) -o $@ -p 255 $^
+%.arc:
+ $(KNARC) -d $(basename $@)/ -p $@
files/poketool/personal/pms.narc: ;