mirror of
https://github.com/pmret/papermario.git
synced 2024-11-10 04:52:34 +01:00
fix makefile includes
This commit is contained in:
parent
0a2b3780a3
commit
d52f53e9c6
4
Makefile
4
Makefile
@ -9,7 +9,7 @@ BUILD_DIR = build
|
|||||||
|
|
||||||
SRC_DIRS := src src/os src/os/nusys
|
SRC_DIRS := src src/os src/os/nusys
|
||||||
ASM_DIRS := asm asm/os
|
ASM_DIRS := asm asm/os
|
||||||
INCLUDE_DIRS := include include/PR
|
INCLUDE_DIRS := include include/PR src
|
||||||
DATA_DIRS := bin
|
DATA_DIRS := bin
|
||||||
|
|
||||||
# Source code files
|
# Source code files
|
||||||
@ -86,7 +86,7 @@ $(BUILD_DIR)/$(TARGET).elf: $(O_FILES) $(LD_SCRIPT)
|
|||||||
$(BUILD_DIR)/%.o: %.s
|
$(BUILD_DIR)/%.o: %.s
|
||||||
$(AS) $(ASFLAGS) -o $@ $<
|
$(AS) $(ASFLAGS) -o $@ $<
|
||||||
|
|
||||||
$(BUILD_DIR)/%.o: %.c %.h $(H_FILES)
|
$(BUILD_DIR)/%.o: %.c $(H_FILES)
|
||||||
cpp $(CPPFLAGS) $< | $(CC) $(CFLAGS) -o - | $(OLD_AS) $(OLDASFLAGS) - -o $@
|
cpp $(CPPFLAGS) $< | $(CC) $(CFLAGS) -o - | $(OLD_AS) $(OLDASFLAGS) - -o $@
|
||||||
|
|
||||||
$(BUILD_DIR)/%.o: %.bin
|
$(BUILD_DIR)/%.o: %.bin
|
||||||
|
Loading…
Reference in New Issue
Block a user