diff options
author | Akira Akashi <rubenru09@aol.com> | 2021-05-31 23:58:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-31 23:58:57 +0100 |
commit | 40bf7584958428b8645256d5093143b7f0c6ebdd (patch) | |
tree | 5afeb1fde81971ba32843e7119c8d9c3c9f8eb56 /filesystem.mk | |
parent | 901807cd6f693ffa9941ddd167ef0ad9a5cf3d51 (diff) | |
parent | 6cffcf0ee5f4e04ce4e79f30645938e0b58f4650 (diff) |
Merge pull request #394 from PikalaxALT/make_naix
Output NARC contents as C enums in .naix files
Diffstat (limited to 'filesystem.mk')
-rw-r--r-- | filesystem.mk | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/filesystem.mk b/filesystem.mk index 2b74f25f..387231bf 100644 --- a/filesystem.mk +++ b/filesystem.mk @@ -275,10 +275,13 @@ endif HOSTFS_FILES := $(NITROFS_FILES:%=files/%) %.narc: - $(KNARC) -d $(basename $@)/ -p $@ + $(KNARC) -d $(basename $@)/ -p $@ -i %.arc: - $(KNARC) -d $(basename $@)/ -p $@ + $(KNARC) -d $(basename $@)/ -p $@ -i + +%.naix: %.narc +files/wazaeffect/we.naix: %.naix: %.arc O2NARC_TARGETS := \ files/poketool/personal/personal.narc \ @@ -295,8 +298,9 @@ O2NARC_TARGETS := \ ALL_O2NARC_TARGETS := $(O2NARC_TARGETS) \ files/poketool/trainer/trpoke.narc +O2NARCFLAGS := -i files/poketool/personal/pms.narc: O2NARCFLAGS = -f -files/itemtool/itemdata/item_data.narc: O2NARCFLAGS = -p 0xFF +files/itemtool/itemdata/item_data.narc: O2NARCFLAGS += -p 0xFF ifeq (,$(NODEP)) $(ALL_O2NARC_TARGETS): dep = $(shell $(SCANINC) -I include -I include-mw -I arm9/lib/include $(patsubst %.narc,%.json.txt,$@)) |