mirror of
https://github.com/mwpenny/portal64-still-alive.git
synced 2024-10-19 22:27:36 -04:00
Sort CODEFILES in Makefile
Link order matters when generating codesegment*.o. The old sort order of CODEFILES was OS/file system dependent. Sort the file paths to ensure consistent linking across environments.
This commit is contained in:
parent
370edaf377
commit
ce239440f3
2
Makefile
2
Makefile
|
@ -39,7 +39,7 @@ ASMFILES = $(shell find asm/ -type f -name '*.s')
|
|||
|
||||
ASMOBJECTS = $(patsubst %.s, build/%.o, $(ASMFILES))
|
||||
|
||||
CODEFILES = $(shell find src/ -type f -name '*.c')
|
||||
CODEFILES = $(shell find src/ -type f -name '*.c' | sort)
|
||||
|
||||
ifeq ($(PORTAL64_WITH_GFX_VALIDATOR),1)
|
||||
LCDEFS += -DPORTAL64_WITH_GFX_VALIDATOR
|
||||
|
|
Loading…
Reference in a new issue