diff options
author | Egor Ananyin <ananinegor@gmail.com> | 2020-06-20 09:18:43 +0300 |
---|---|---|
committer | Egor Ananyin <ananinegor@gmail.com> | 2020-06-20 09:18:43 +0300 |
commit | abd2d1e16494867989e710e5235c6425fa4e8c34 (patch) | |
tree | 7eff3e1db566801104a8fc2672bbe57e06f7009e /filesystem.mk | |
parent | 70556fc300ba85dad248d20b3c79c415e2ef88e5 (diff) | |
parent | 12c17948602bf14535c91c530f214b99863e038e (diff) |
conflicts
Diffstat (limited to 'filesystem.mk')
-rw-r--r-- | filesystem.mk | 17 |
1 files changed, 13 insertions, 4 deletions
diff --git a/filesystem.mk b/filesystem.mk index b43877db..05098980 100644 --- a/filesystem.mk +++ b/filesystem.mk @@ -280,8 +280,17 @@ HOSTFS_FILES = $(NITROFS_FILES:%=files/%) %.arc: $(KNARC) -d $(basename $@)/ -p $@ -files/poketool/personal/pms.narc: ; +O2NARC_TARGETS := \ + files/poketool/personal/personal.narc \ + files/poketool/personal/wotbl.narc \ + files/poketool/personal/evo.narc \ + files/poketool/personal/growtbl.narc \ + files/poketool/personal/pms.narc \ -files/poketool/personal/growtbl.narc: $(wildcard files/poketool/personal/growtbl/*.txt) - $(MAKE) -C $(<D) - $(NARCCOMP) -o $@ -p 255 $(^:%.txt=%.bin) +files/poketool/personal/pms.narc: O2NARCFLAGS = -f + +$(O2NARC_TARGETS): %.narc: %.json %.json.txt + $(JSONPROC) $^ $*.c + $(CC) $(CFLAGS) -c -o $*.o $*.c + $(O2NARC) $(O2NARCFLAGS) $*.o $@ + @$(RM) $*.o $*.c |