| 15 |
endif |
endif |
| 16 |
|
|
| 17 |
# select compiler |
# select compiler |
| 18 |
USE_GCC = 1 |
# USE_GCC = 1 |
| 19 |
# USE_VC = 1 |
# USE_VC = 1 |
| 20 |
|
|
| 21 |
# uncomment next line to include the debugger |
# uncomment next line to include the debugger |
| 55 |
# FSSTRETCH = -DFSSTRETCH |
# FSSTRETCH = -DFSSTRETCH |
| 56 |
|
|
| 57 |
# language |
# language |
| 58 |
JAPANESE = 1 |
# JAPANESE = 1 |
| 59 |
# ENGLISH = 1 |
# ENGLISH = 1 |
| 60 |
|
|
| 61 |
# build console version |
# build console version |
| 62 |
# BUILD_CONSOLE = -DBUILD_CONSOLE |
ifdef CONSOLE_MODE |
| 63 |
|
BUILD_CONSOLE = -DBUILD_CONSOLE |
| 64 |
|
endif |
| 65 |
|
|
| 66 |
# use fast (register) calling convention (for VC). |
# use fast (register) calling convention (for VC). |
| 67 |
# USE_FASTCALL = -DFASTCALL |
# USE_FASTCALL = -DFASTCALL |
| 73 |
# PLEASE DO NOT CHANGE THE FOLLOWING SETTINGS! |
# PLEASE DO NOT CHANGE THE FOLLOWING SETTINGS! |
| 74 |
|
|
| 75 |
# if compiler is not selected, GCC is used as the default. |
# if compiler is not selected, GCC is used as the default. |
| 76 |
|
ifdef IP4 |
| 77 |
|
INTEL = 1 |
| 78 |
|
USE_VC = 1 |
| 79 |
|
USE_GCC = |
| 80 |
|
endif |
| 81 |
|
|
| 82 |
|
ifndef JAPANESE |
| 83 |
|
ifndef ENGLISH |
| 84 |
|
JAPANESE=1 |
| 85 |
|
endif |
| 86 |
|
endif |
| 87 |
|
|
| 88 |
ifndef USE_VC |
ifndef USE_VC |
| 89 |
ifndef USE_GCC |
ifndef USE_GCC |
| 90 |
USE_GCC = 1 |
USE_GCC = 1 |
| 106 |
endif |
endif |
| 107 |
|
|
| 108 |
# compiler, linker and assembler |
# compiler, linker and assembler |
|
ifdef IP4 |
|
|
INTEL = 1 |
|
|
endif |
|
| 109 |
|
|
| 110 |
ifdef USE_GCC |
ifdef USE_GCC |
| 111 |
AR = @ar |
AR = @ar |
| 162 |
ifdef JAPANESE |
ifdef JAPANESE |
| 163 |
LANGUAGE = -DJAPANESE |
LANGUAGE = -DJAPANESE |
| 164 |
ENGLISH = |
ENGLISH = |
|
SUFFIX = jp |
|
| 165 |
else |
else |
| 166 |
LANGUAGE = -DENGLISH |
LANGUAGE = -DENGLISH |
| 167 |
JAPANESE = |
JAPANESE = |
|
SUFFIX = e |
|
| 168 |
endif |
endif |
| 169 |
|
SUFFIX = jp |
| 170 |
|
|
| 171 |
ifdef SYMBOLS |
ifdef SYMBOLS |
| 172 |
CPUTYPE = debug |
CPUTYPE = debug |
| 219 |
# some structures and thus they can't be linked against each other. |
# some structures and thus they can't be linked against each other. |
| 220 |
# cleantiny isn't needed anymore, because the tiny build has its |
# cleantiny isn't needed anymore, because the tiny build has its |
| 221 |
# own object directory too. |
# own object directory too. |
| 222 |
OBJ = obj/$(CPUTYPE) |
DIR_PREFIX1 = windows |
| 223 |
|
DIR_PREFIX2 = japanese |
| 224 |
|
ifdef CONSOLE_MODE |
| 225 |
|
DIR_PREFIX1=console |
| 226 |
|
endif |
| 227 |
|
ifdef ENGLISH |
| 228 |
|
DIR_PREFIX2 = english |
| 229 |
|
endif |
| 230 |
|
|
| 231 |
EXEDIR = exe/$(CPUTYPE) |
DIR_SUFFIX = $(DIR_PREFIX1)/$(DIR_PREFIX2)/$(CPUTYPE) |
| 232 |
|
OBJ = obj/$(DIR_SUFFIX) |
| 233 |
|
EXEDIR = exe/$(DIR_SUFFIX) |
| 234 |
EMULATOR = $(EXEDIR)/$(NAME)$(EXE) |
EMULATOR = $(EXEDIR)/$(NAME)$(EXE) |
| 235 |
|
|
| 236 |
##################################################################### |
##################################################################### |