mirror of
https://github.com/pret/pokestadium.git
synced 2026-10-01 14:27:19 -05:00
add asm processor for manual c files
This commit is contained in:
6
Makefile
6
Makefile
@@ -63,6 +63,8 @@ endif
|
||||
|
||||
CC = tools/ido_recomp/$(HOST_OS)/7.1/cc
|
||||
CC_OLD = tools/ido_recomp/$(HOST_OS)/5.3/cc
|
||||
ASMPROC = python3 tools/asmproc/build.py
|
||||
ASMPROC_FLAGS :=
|
||||
|
||||
MIPS_VERSION := -mips2
|
||||
|
||||
@@ -214,6 +216,10 @@ CFLAGS = -G 0 -non_shared -Xfullwarn -Xcpluscomm -Iinclude -Iinclude/PR -Iinclu
|
||||
|
||||
LDFLAGS = -T undefined_syms.txt -T undefined_syms_auto.txt -T undefined_funcs_auto.txt -T $(BUILD_DIR)/$(LD_SCRIPT) -Map $(BUILD_DIR)/$(TARGET).map --no-check-sections
|
||||
|
||||
|
||||
# run ASM-processor on non-libultra source files
|
||||
build/src/%.c.o: CC := $(ASMPROC) $(ASMPROC_FLAGS) $(CC) -- $(AS) $(ASFLAGS) --
|
||||
|
||||
######################## Build #############################
|
||||
|
||||
default: all
|
||||
|
||||
Reference in New Issue
Block a user