summaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common
index 92fd9fa..ea75b78 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -13,9 +13,13 @@ SOURCES_C := $(CORE_DIR)/main.c \
$(CORE_DIR)/sound.c \
$(CORE_DIR)/cheats.c \
$(CORE_DIR)/libretro.c \
- $(CORE_DIR)/libco/libco.c \
$(CORE_DIR)/gba_cc_lut.c
+ifeq ($(USE_LIBCO), 1)
+SOURCES_C += $(CORE_DIR)/libco/libco.c
+else
+SOURCES_C += $(CORE_DIR)/retro_emu_thread.c
+endif
ifeq ($(HAVE_DYNAREC), 1)
SOURCES_C += $(CORE_DIR)/cpu_threaded.c