Only compile in cpu_threaded.c for HAVE_DYNAREC targets

This commit is contained in:
twinaphex 2014-12-10 17:10:17 +01:00
parent 1bf4901b58
commit 6ad4f13fbc

View file

@ -11,11 +11,14 @@ SOURCES_C := $(CORE_DIR)/main.c \
$(CORE_DIR)/video.c \
$(CORE_DIR)/input.c \
$(CORE_DIR)/sound.c \
$(CORE_DIR)/cpu_threaded.c \
$(CORE_DIR)/cheats.c \
$(CORE_DIR)/libretro.c \
$(CORE_DIR)/libco/libco.c
ifeq ($(HAVE_DYNAREC), 1)
SOURCES_C += $(CORE_DIR)/cpu_threaded.c
endif
endif
ifeq ($(HAVE_DYNAREC), 1)