mirror of
https://github.com/pmret/papermario.git
synced 2024-11-18 08:52:40 +01:00
add include/ld_addrs.h as an explicit dependency of %.c
This commit is contained in:
parent
7828969e61
commit
4f0f43a3c9
2
Makefile
2
Makefile
@ -130,7 +130,7 @@ $(BUILD_DIR)/%.Yay0.o: $(BUILD_DIR)/%.bin.Yay0
|
||||
$(LD) -r -b binary -o $@ $<
|
||||
|
||||
# Compile C files
|
||||
$(BUILD_DIR)/%.c.o: %.c $(MDEPS)
|
||||
$(BUILD_DIR)/%.c.o: %.c $(MDEPS) include/ld_addrs.h
|
||||
@mkdir -p $(shell dirname $@)
|
||||
$(CPP) $(CPPFLAGS) -o - $(CPPMFLAGS) $< | iconv --from UTF-8 --to SHIFT-JIS | $(CC) $(CFLAGS) -o - | $(OLD_AS) $(OLDASFLAGS) -o $@ -
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user