diff --git a/Makefile.gc b/Makefile.gc index 8c7957d..718f04f 100644 --- a/Makefile.gc +++ b/Makefile.gc @@ -28,15 +28,15 @@ INCLUDES := source source/vba # options for code generation #--------------------------------------------------------------------------------- -CFLAGS = -g -O3 -Wall $(MACHDEP) $(INCLUDE) \ - -DNO_SOUND -DUSE_VM -DWORDS_BIGENDIAN \ - -DC_CORE -D__ppc__ -D__POWERPC__ -DFINAL_VERSION \ - -DSDL -DNO_PNG -DHAVE_ZUTIL_H \ - -D_SZ_ONE_DIRECTORY -D_LZMA_IN_CB -D_LZMA_OUT_READ \ - -fomit-frame-pointer \ - -Wno-unused-parameter -Wno-strict-aliasing -Wno-parentheses -CXXFLAGS = $(CFLAGS) -LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map +CFLAGS = -g -O3 -Wall $(MACHDEP) $(INCLUDE) \ + -DNO_SOUND -DUSE_VM -DWORDS_BIGENDIAN \ + -DC_CORE -D__ppc__ -D__POWERPC__ -DFINAL_VERSION \ + -DSDL -DNO_PNG -DHAVE_ZUTIL_H \ + -D_SZ_ONE_DIRECTORY -D_LZMA_IN_CB -D_LZMA_OUT_READ \ + -fomit-frame-pointer \ + -Wno-unused-parameter -Wno-strict-aliasing -Wno-parentheses +CXXFLAGS = $(CFLAGS) +LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map #--------------------------------------------------------------------------------- # any extra libraries we wish to link with diff --git a/Makefile.wii b/Makefile.wii index 618161a..51ee648 100644 --- a/Makefile.wii +++ b/Makefile.wii @@ -28,15 +28,15 @@ INCLUDES := source source/vba # options for code generation #--------------------------------------------------------------------------------- -CFLAGS = -g -O3 -Wall $(MACHDEP) $(INCLUDE) \ - -DWORDS_BIGENDIAN \ - -DC_CORE -D__ppc__ -D__POWERPC__ -DFINAL_VERSION \ - -DSDL -DNO_PNG -DHAVE_ZUTIL_H \ - -D_SZ_ONE_DIRECTORY -D_LZMA_IN_CB -D_LZMA_OUT_READ \ - -fomit-frame-pointer \ - -Wno-unused-parameter -Wno-strict-aliasing -Wno-parentheses -CXXFLAGS = $(CFLAGS) -LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map -Wl,--cref +CFLAGS = -g -O3 -Wall $(MACHDEP) $(INCLUDE) \ + -DWORDS_BIGENDIAN \ + -DC_CORE -D__ppc__ -D__POWERPC__ -DFINAL_VERSION \ + -DSDL -DNO_PNG -DHAVE_ZUTIL_H \ + -D_SZ_ONE_DIRECTORY -D_LZMA_IN_CB -D_LZMA_OUT_READ \ + -fomit-frame-pointer \ + -Wno-unused-parameter -Wno-strict-aliasing -Wno-parentheses +CXXFLAGS = $(CFLAGS) +LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map #--------------------------------------------------------------------------------- # any extra libraries we wish to link with