mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-23 15:52:41 +02:00
Fix build again maybe
This commit is contained in:
1 parent
f3a0285038
commit
0f23e817fb
2 files changed
+4
-15
No files matched your search
@@ -212,7 +212,6 @@ CFLAGS = $(C_DEFINES) \
|
||||
-G 0 \
|
||||
-Xcpluscomm \
|
||||
-woff 581,649,819,820,821,838,852 \
|
||||
-w2 \
|
||||
-I include \
|
||||
-I include/PR \
|
||||
-I src/include \
|
||||
@@ -226,13 +225,6 @@ ASFLAGS = -march=vr4300 -mabi=32 -Iinclude -Iinclude/PR -Isrc/include -Isrc/lib/
|
||||
C_FILES := $(shell find src/lib src/game src/inflate -name '*.c')
|
||||
S_FILES := $(shell find src/lib src/game src/preamble -name '*.s')
|
||||
|
||||
# Files containing MAXFLOAT must be built with qemu, not recomp
|
||||
# And luckily this only occurs in 5.3 code, so we can force CCQEMU53 here
|
||||
MAXFLOAT_C_FILES != grep -rl 'MAXFLOAT' $(C_FILES)
|
||||
MAXFLOAT_O_FILES = $(patsubst src/%.c, $(B_DIR)/%.o, $(MAXFLOAT_C_FILES))
|
||||
|
||||
$(MAXFLOAT_O_FILES): CC := $(CCQEMU53)
|
||||
|
||||
# Files containing GLOBAL_ASM must be built with the asm_processor
|
||||
GLOBALASM_C_FILES != grep -rl 'GLOBAL_ASM(' $(C_FILES)
|
||||
GLOBALASM_O_FILES = $(patsubst src/%.c, $(B_DIR)/%.o, $(GLOBALASM_C_FILES))
|
||||
|
||||
Reference in new issue
Block a user