diff options
author | Twinaphex | 2017-08-16 19:21:08 +0200 |
---|---|---|
committer | GitHub | 2017-08-16 19:21:08 +0200 |
commit | 232f8097145a9e93147893550528374052e5523d (patch) | |
tree | f1d740e45522954e48e036103268c5ccb5dcbef2 /Makefile.common | |
parent | aa610b2ba997a945c77ce06e9a33638dedb480da (diff) | |
parent | aef91917f7ae66da1e93e1f4c1b21f5b2555ad35 (diff) | |
download | snes9x2005-232f8097145a9e93147893550528374052e5523d.tar.gz snes9x2005-232f8097145a9e93147893550528374052e5523d.tar.bz2 snes9x2005-232f8097145a9e93147893550528374052e5523d.zip |
Merge pull request #42 from jamsilva/master
Changed compile-time flags to use C89 and fixed new warnings raised.
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Makefile.common b/Makefile.common index 21e319e..0a44db3 100644 --- a/Makefile.common +++ b/Makefile.common @@ -3,7 +3,6 @@ LIBRETRO_COMM_DIR := $(LIBRETRO_DIR)/libretro-common INCFLAGS := -I$(CORE_DIR) -I$(LIBRETRO_DIR) -I$(LIBRETRO_COMM_DIR)/include SOURCES_C := \ - $(CORE_DIR)/apu.c \ $(CORE_DIR)/c4.c \ $(CORE_DIR)/c4emu.c \ $(CORE_DIR)/cheats2.c \ @@ -30,17 +29,20 @@ SOURCES_C := \ $(CORE_DIR)/seta011.c \ $(CORE_DIR)/seta018.c \ $(CORE_DIR)/seta.c \ - $(CORE_DIR)/soundux.c \ - $(CORE_DIR)/spc700.c \ $(CORE_DIR)/spc7110.c \ $(CORE_DIR)/spc7110dec.c \ $(CORE_DIR)/srtc.c \ $(CORE_DIR)/tile.c \ - $(CORE_DIR)/apu_blargg.c \ $(LIBRETRO_DIR)/libretro.c ifeq ($(USE_BLARGG_APU),1) + SOURCES_C += $(CORE_DIR)/apu_blargg.c FLAGS += -DUSE_BLARGG_APU +else + SOURCES_C += \ + $(CORE_DIR)/apu.c \ + $(CORE_DIR)/soundux.c \ + $(CORE_DIR)/spc700.c endif ifeq ($(LOAD_FROM_MEMORY_TEST),1) |