diff --git a/Makefile.gc b/Makefile.gc index 92c5f96..23c20fd 100644 --- a/Makefile.gc +++ b/Makefile.gc @@ -27,16 +27,14 @@ INCLUDES := source source/snes9x # options for code generation #--------------------------------------------------------------------------------- -CFLAGS = -g -O3 -Wall $(MACHDEP) $(INCLUDE) -DNO_SOUND \ - -DZLIB -DRIGHTSHIFT_IS_SAR -DCPU_SHUTDOWN -DCORRECT_VRAM_READS \ - -D_SZ_ONE_DIRECTORY -D_LZMA_IN_CB -D_LZMA_OUT_READ \ - -fomit-frame-pointer \ - -Wno-unused-parameter -Wno-strict-aliasing \ - -Wno-write-strings -Wno-parentheses - +CFLAGS = -g -O3 -Wall $(MACHDEP) $(INCLUDE) -DNO_SOUND \ + -DZLIB -DRIGHTSHIFT_IS_SAR -DCPU_SHUTDOWN -DCORRECT_VRAM_READS \ + -D_SZ_ONE_DIRECTORY -D_LZMA_IN_CB -D_LZMA_OUT_READ \ + -fomit-frame-pointer \ + -Wno-unused-parameter -Wno-strict-aliasing \ + -Wno-write-strings -Wno-parentheses CXXFLAGS = $(CFLAGS) - -LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map -Wl,--cref +LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map #--------------------------------------------------------------------------------- # any extra libraries we wish to link with the project diff --git a/Makefile.wii b/Makefile.wii index 617746b..daa1b89 100644 --- a/Makefile.wii +++ b/Makefile.wii @@ -27,16 +27,14 @@ INCLUDES := source source/snes9x # options for code generation #--------------------------------------------------------------------------------- -CFLAGS = -g -O3 -Wall $(MACHDEP) $(INCLUDE) \ - -DZLIB -DRIGHTSHIFT_IS_SAR -DCPU_SHUTDOWN -DCORRECT_VRAM_READS \ - -D_SZ_ONE_DIRECTORY -D_LZMA_IN_CB -D_LZMA_OUT_READ \ - -fomit-frame-pointer \ - -Wno-unused-parameter -Wno-strict-aliasing \ - -Wno-write-strings -Wno-parentheses - -CXXFLAGS = -save-temps -Xassembler -aln=$@.lst $(CFLAGS) - -LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map +CFLAGS = -g -O3 -Wall $(MACHDEP) $(INCLUDE) \ + -DZLIB -DRIGHTSHIFT_IS_SAR -DCPU_SHUTDOWN -DCORRECT_VRAM_READS \ + -D_SZ_ONE_DIRECTORY -D_LZMA_IN_CB -D_LZMA_OUT_READ \ + -fomit-frame-pointer \ + -Wno-unused-parameter -Wno-strict-aliasing \ + -Wno-write-strings -Wno-parentheses +CXXFLAGS = $(CFLAGS) +LDFLAGS = -g $(MACHDEP) -Wl,-Map,$(notdir $@).map #--------------------------------------------------------------------------------- # any extra libraries we wish to link with the project