mirror of
https://github.com/d0k3/GodMode9.git
synced 2025-06-25 21:22:47 +00:00
Restored autodependency generation
This commit is contained in:
parent
c86ebe4baa
commit
796457e54c
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,4 +1,5 @@
|
||||
# Object files
|
||||
*.d
|
||||
*.o
|
||||
*.ko
|
||||
*.obj
|
||||
@ -39,6 +40,7 @@ desktop.ini
|
||||
*.sublime-*
|
||||
|
||||
# Build directories
|
||||
/build
|
||||
/output
|
||||
/release
|
||||
|
||||
|
2
Makefile
2
Makefile
@ -31,7 +31,7 @@ export INCLUDE := -I"$(shell pwd)/common"
|
||||
export ASFLAGS := -g -x assembler-with-cpp $(INCLUDE)
|
||||
export CFLAGS := -DDBUILTS="\"$(DBUILTS)\"" -DDBUILTL="\"$(DBUILTL)\"" -DVERSION="\"$(VERSION)\"" -DFLAVOR="\"$(FLAVOR)\"" \
|
||||
-g -O2 -Wall -Wextra -Wpedantic -Wcast-align -Wformat=2 -Wno-main \
|
||||
-fomit-frame-pointer -ffast-math -std=gnu11 \
|
||||
-fomit-frame-pointer -ffast-math -std=gnu11 -MMD -MP \
|
||||
-Wno-unused-function -Wno-format-truncation $(INCLUDE) -ffunction-sections -fdata-sections
|
||||
export LDFLAGS := -Tlink.ld -nostartfiles -Wl,--gc-sections,-z,max-page-size=512
|
||||
ELF := arm9/arm9.elf arm11/arm11.elf
|
||||
|
@ -39,3 +39,5 @@ $(BUILD)/%.o: $(SOURCE)/%.s
|
||||
@mkdir -p "$(@D)"
|
||||
@echo "[$(PROCESSOR)] $<"
|
||||
@$(CC) -c $(ASFLAGS) -o $@ $<
|
||||
|
||||
include $(call rwildcard, $(BUILD), *.d)
|
||||
|
@ -39,3 +39,5 @@ $(BUILD)/%.o: $(SOURCE)/%.s
|
||||
@mkdir -p "$(@D)"
|
||||
@echo "[$(PROCESSOR)] $<"
|
||||
@$(CC) -c $(ASFLAGS) -o $@ $<
|
||||
|
||||
include $(call rwildcard, $(BUILD), *.d)
|
||||
|
Loading…
x
Reference in New Issue
Block a user