fix Makefiles for intl stuff

This commit is contained in:
dsbomb 2008-05-01 04:44:01 +00:00
parent acbb091033
commit 79c8a66f20
2 changed files with 12 additions and 4 deletions

View File

@ -23,14 +23,18 @@ SOURCES := source source/boards source/mappers source/input \
source/drivers/gamecube source/roms \
source/iplfont source/sz
DATA := data
INCLUDES := source/sz
INCLUDES := source source/sz
# Specify language in all capitals
# Supported languages: ENGLISH
LANG := ENGLISH
#---------------------------------------------------------------------------------
# options for code generation
#---------------------------------------------------------------------------------
CFLAGS = -g -Os -Wall $(MACHDEP) $(INCLUDE) -DFCEU_VERSION_NUMERIC=9812 -DNGC=1 \
-DZLIB -DBIG_ENDIAN -DHAVE_ASPRINTF=1 -DSTDC \
-D_SZ_ONE_DIRECTORY=1 -D_LZMA_IN_CB=1 -D_LZMA_OUT_READ
-D_SZ_ONE_DIRECTORY=1 -D_LZMA_IN_CB=1 -D_LZMA_OUT_READ \
-DINTL_$(LANG)
CXXFLAGS = $(CFLAGS)
LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map -Wl,--cref

View File

@ -23,7 +23,10 @@ SOURCES := source source/boards source/mappers source/input \
source/drivers/gamecube source/roms \
source/iplfont source/sz source/drivers/gamecube/wiisd
DATA := data
INCLUDES := source/sz source/drivers/gamecube/wiisd
INCLUDES := source source/sz source/drivers/gamecube/wiisd
# Specify language in all capitals
# Supported languages: ENGLISH
LANG := ENGLISH
#---------------------------------------------------------------------------------
# options for code generation
@ -32,7 +35,8 @@ INCLUDES := source/sz source/drivers/gamecube/wiisd
#CFLAGS = -g -O2 -Wall $(MACHDEP) $(INCLUDE) -DFCEU_VERSION_NUMERIC=9812 -DNGC=1 -DZLIB -DBIG_ENDIAN -DHAVE_ASPRINTF=1 -DSTDC -D_SZ_ONE_DIRECTORY=1 -D_LZMA_IN_CB=1 -D_LZMA_OUT_READ
CFLAGS = -g -Os -Wall $(MACHDEP) $(INCLUDE) -DFCEU_VERSION_NUMERIC=9812 -DNGC=1 \
-DZLIB -DBIG_ENDIAN -DHAVE_ASPRINTF=1 -DSTDC \
-D_SZ_ONE_DIRECTORY=1 -D_LZMA_IN_CB=1 -D_LZMA_OUT_READ
-D_SZ_ONE_DIRECTORY=1 -D_LZMA_IN_CB=1 -D_LZMA_OUT_READ \
-DINTL_$(LANG)
CXXFLAGS = $(CFLAGS)
LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map -Wl,--cref