diff options
author | PikalaxALT <pikalaxalt@gmail.com> | 2020-05-29 09:40:48 -0400 |
---|---|---|
committer | PikalaxALT <pikalaxalt@gmail.com> | 2020-05-29 09:40:48 -0400 |
commit | 1095493c4f8aa2ae6b8103cb516ffcb92b0b65e4 (patch) | |
tree | b76f863d5f0470f22bea01c81bb5b538a652a0a3 /arm9/Makefile | |
parent | 0cb8e5bbaec817507ccfca6a79f7976e7975d6cf (diff) |
Implement config.mk and config.h
Diffstat (limited to 'arm9/Makefile')
-rw-r--r-- | arm9/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/arm9/Makefile b/arm9/Makefile index 7b5ff4b1..6ec32834 100644 --- a/arm9/Makefile +++ b/arm9/Makefile @@ -1,5 +1,7 @@ # Makefile to build Pokemon Diamond image +include config.mk + .PHONY: clean tidy all default patch_mwasmarm # Try to include devkitarm if installed @@ -182,8 +184,8 @@ OBJCOPY := $(CROSS)objcopy # ./tools/mwccarm/2.0/base/mwasmarm.exe -proc arm5te asm/arm9_thumb.s -o arm9.o ASFLAGS = -proc arm5te -i .. -CFLAGS = -O4,p -proc arm946e -fp soft -lang c99 -Cpp_exceptions off -ir ../include -ir ../include-mw -ir lib/include -interworking -DFS_IMPLEMENT -enum int -CXXFLAGS = -O4,p -proc arm946e -fp soft -lang c99 -Cpp_exceptions off -ir ../include -ir ../include-mw -ir lib/include -interworking -DFS_IMPLEMENT -enum int +CFLAGS = -O4,p -proc arm946e -fp soft -lang c99 -Cpp_exceptions off -ir ../include -ir ../include-mw -ir lib/include -interworking -DFS_IMPLEMENT -enum int -D$(GAME_VERSION) -D$(GAME_LANGUAGE) +CXXFLAGS = -O4,p -proc arm946e -fp soft -lang c99 -Cpp_exceptions off -ir ../include -ir ../include-mw -ir lib/include -interworking -DFS_IMPLEMENT -enum int -D$(GAME_VERSION) -D$(GAME_LANGUAGE) LDFLAGS = -map -nodead -w off -proc v5te -interworking -map -symtab -m _start ####################### Other Tools ######################### |