From 6ad4f13fbcefc9940dcf582a8b7c7da00f1b4f77 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Wed, 10 Dec 2014 17:10:17 +0100 Subject: Only compile in cpu_threaded.c for HAVE_DYNAREC targets --- Makefile.common | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile.common b/Makefile.common index b1790da..d7c950a 100644 --- a/Makefile.common +++ b/Makefile.common @@ -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) -- cgit v1.2.3