summaryrefslogtreecommitdiff
path: root/filesystem.mk
diff options
context:
space:
mode:
Diffstat (limited to 'filesystem.mk')
-rw-r--r--filesystem.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/filesystem.mk b/filesystem.mk
index 41bdc0d4..df0b9dc6 100644
--- a/filesystem.mk
+++ b/filesystem.mk
@@ -311,13 +311,13 @@ endif
## This specific target shares its source JSON with trdata.narc
files/poketool/trainer/trpoke.narc: %/trpoke.narc: %/trdata.json %/trpoke.json.txt $$(dep)
$(JSONPROC) $< $(word 2,$^) $*/trpoke.c
- $(CC) $(CFLAGS) -c -o $*/trpoke.o $*/trpoke.c
+ $(CC) $(MWCFLAGS) -c -o $*/trpoke.o $*/trpoke.c
$(O2NARC) $(O2NARCFLAGS) $*/trpoke.o $@
@$(RM) $*/trpoke.o $*/trpoke.c
$(O2NARC_TARGETS): %.narc: %.json %.json.txt $$(dep)
$(JSONPROC) $*.json $*.json.txt $*.c
- $(CC) $(CFLAGS) -c -o $*.o $*.c
+ $(CC) $(MWCFLAGS) -c -o $*.o $*.c
$(O2NARC) $(O2NARCFLAGS) $*.o $@
@$(RM) $*.o $*.c