diff options
| author | red031000 <rubenru09@aol.com> | 2020-06-07 21:00:20 +0100 |
|---|---|---|
| committer | red031000 <rubenru09@aol.com> | 2020-06-07 21:00:20 +0100 |
| commit | 5f9e55a24bd8430ed6384c737ed29f949f3c8a6c (patch) | |
| tree | 20c57f7d5282f0c3d272b47c4647742581258110 /Makefile | |
| parent | fce2c89d6edb6d8e6d8fbc6926b1b0784a07c984 (diff) | |
| parent | c5a0d49cbae5047021e4f036366cf87ba97da566 (diff) | |
Merge branch 'master' of https://github.com/martmists/pokediamond
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 17 |
1 files changed, 7 insertions, 10 deletions
@@ -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: ; |
