Makefile.common cleanups.

This commit is contained in:
sergiobenrocha2 2017-01-04 19:39:36 -02:00
parent c3935c9861
commit c1ab6c64c3
2 changed files with 31 additions and 38 deletions

View File

@ -280,7 +280,7 @@ else
CFLAGS += -O3
endif
DEFINES += -DHAVE_STRNDUP -DHAVE_STRDUP -DUSE_DEBUGGERS
DEFINES += -DHAVE_STRNDUP -DHAVE_STRDUP
include $(BUILD_DIR)/Makefile.common

View File

@ -21,84 +21,77 @@ endif
endif
SOURCES_C := $(CORE_DIR)/src/arm/arm.c \
$(CORE_DIR)/src/arm/isa-thumb.c \
$(CORE_DIR)/src/arm/isa-arm.c \
$(CORE_DIR)/src/arm/decoder.c \
$(CORE_DIR)/src/arm/decoder-arm.c \
$(CORE_DIR)/src/arm/decoder-thumb.c \
$(CORE_DIR)/src/arm/decoder.c \
$(CORE_DIR)/src/arm/isa-thumb.c \
$(CORE_DIR)/src/arm/isa-arm.c \
$(CORE_DIR)/src/core/cheats.c \
$(CORE_DIR)/src/core/config.c \
$(CORE_DIR)/src/core/core.c \
$(CORE_DIR)/src/core/lockstep.c \
$(CORE_DIR)/src/core/log.c \
$(CORE_DIR)/src/core/sync.c \
$(CORE_DIR)/src/core/thread.c \
$(CORE_DIR)/src/core/tile-cache.c \
$(CORE_DIR)/src/core/timing.c \
$(CORE_DIR)/src/core/thread.c \
$(CORE_DIR)/src/debugger/debugger.c \
$(CORE_DIR)/src/arm/debugger/debugger.c \
$(CORE_DIR)/src/arm/debugger/memory-debugger.c \
$(CORE_DIR)/src/gb/audio.c \
$(CORE_DIR)/src/gb/cheats.c \
$(CORE_DIR)/src/gb/core.c \
$(CORE_DIR)/src/gb/gb.c \
$(CORE_DIR)/src/gb/io.c \
$(CORE_DIR)/src/gb/mbc.c \
$(CORE_DIR)/src/gb/memory.c \
$(CORE_DIR)/src/gb/overrides.c \
$(CORE_DIR)/src/gb/renderers/software.c \
$(CORE_DIR)/src/gb/serialize.c \
$(CORE_DIR)/src/gb/sio.c \
$(CORE_DIR)/src/gb/timer.c \
$(CORE_DIR)/src/gb/video.c \
$(CORE_DIR)/src/gb/renderers/software.c \
$(CORE_DIR)/src/gb/renderers/tile-cache.c \
$(CORE_DIR)/src/gb/sio/lockstep.c \
$(CORE_DIR)/src/gba/renderers/tile-cache.c \
$(CORE_DIR)/src/gba/savedata.c \
$(CORE_DIR)/src/gba/io.c \
$(CORE_DIR)/src/gba/bios.c \
$(CORE_DIR)/src/gba/dma.c \
$(CORE_DIR)/src/gba/hle-bios.c \
$(CORE_DIR)/src/gba/input.c \
$(CORE_DIR)/src/gba/audio.c \
$(CORE_DIR)/src/gba/memory.c \
$(CORE_DIR)/src/gba/timer.c \
$(CORE_DIR)/src/core/cheats.c \
$(CORE_DIR)/src/gb/cheats.c \
$(CORE_DIR)/src/gb/serialize.c \
$(CORE_DIR)/src/gba/bios.c \
$(CORE_DIR)/src/gba/cheats.c \
$(CORE_DIR)/src/gba/cheats/gameshark.c \
$(CORE_DIR)/src/gba/cheats/parv3.c \
$(CORE_DIR)/src/gba/cheats/codebreaker.c \
$(CORE_DIR)/src/lr35902/debugger/debugger.c \
$(CORE_DIR)/src/gba/core.c \
$(CORE_DIR)/src/gba/dma.c \
$(CORE_DIR)/src/gba/gba.c \
$(CORE_DIR)/src/gba/hardware.c \
$(CORE_DIR)/src/gba/sio.c \
$(CORE_DIR)/src/gba/video.c \
$(CORE_DIR)/src/gba/serialize.c \
$(CORE_DIR)/src/gba/hle-bios.c \
$(CORE_DIR)/src/gba/input.c \
$(CORE_DIR)/src/gba/io.c \
$(CORE_DIR)/src/gba/memory.c \
$(CORE_DIR)/src/gba/overrides.c \
$(CORE_DIR)/src/gba/renderers/software-mode0.c \
$(CORE_DIR)/src/gba/renderers/software-obj.c \
$(CORE_DIR)/src/gba/renderers/software-bg.c \
$(CORE_DIR)/src/gba/renderers/video-software.c \
$(CORE_DIR)/src/gba/overrides.c \
$(CORE_DIR)/src/gba/savedata.c \
$(CORE_DIR)/src/gba/serialize.c \
$(CORE_DIR)/src/gba/sio.c \
$(CORE_DIR)/src/gba/timer.c \
$(CORE_DIR)/src/gba/vfame.c \
$(CORE_DIR)/src/gba/video.c \
$(CORE_DIR)/src/lr35902/isa-lr35902.c \
$(CORE_DIR)/src/lr35902/lr35902.c \
$(CORE_DIR)/src/platform/libretro/memory.c \
$(CORE_DIR)/src/platform/libretro/libretro.c \
$(CORE_DIR)/src/third-party/blip_buf/blip_buf.c \
$(CORE_DIR)/src/third-party/inih/ini.c \
$(CORE_DIR)/src/util/formatting.c \
$(CORE_DIR)/src/util/vfs.c \
$(CORE_DIR)/src/util/table.c \
$(CORE_DIR)/src/util/vfs/vfs-mem.c \
$(CORE_DIR)/src/util/string.c \
$(CORE_DIR)/src/util/hash.c \
$(CORE_DIR)/src/util/configuration.c \
$(CORE_DIR)/src/util/circle-buffer.c \
$(CORE_DIR)/src/util/configuration.c \
$(CORE_DIR)/src/util/crc32.c \
$(CORE_DIR)/src/util/formatting.c \
$(CORE_DIR)/src/util/hash.c \
$(CORE_DIR)/src/util/patch.c \
$(CORE_DIR)/src/util/patch-ips.c \
$(CORE_DIR)/src/util/patch-ups.c \
$(CORE_DIR)/src/third-party/blip_buf/blip_buf.c \
$(CORE_DIR)/src/util/crc32.c \
$(CORE_DIR)/src/util/text-codec.c
$(CORE_DIR)/src/util/string.c \
$(CORE_DIR)/src/util/table.c \
$(CORE_DIR)/src/util/vfs.c \
$(CORE_DIR)/src/util/vfs/vfs-mem.c
ifeq ($(platform), ctr)
SOURCES_C += $(CORE_DIR)/src/platform/3ds/ctru-heap.c