diff --git a/Makefile.gc b/Makefile.gc index 29bc982..c2ae480 100644 --- a/Makefile.gc +++ b/Makefile.gc @@ -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 diff --git a/Makefile.wii b/Makefile.wii index 8ebba42..56691a7 100644 --- a/Makefile.wii +++ b/Makefile.wii @@ -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