diff options
author | twinaphex | 2014-12-10 17:10:17 +0100 |
---|---|---|
committer | twinaphex | 2014-12-10 17:10:17 +0100 |
commit | 6ad4f13fbcefc9940dcf582a8b7c7da00f1b4f77 (patch) | |
tree | a6201e6a3d054210dd2dea7f295f1c32b9a669e9 | |
parent | 1bf4901b583289badb82ee9641d64c05ab1f4b29 (diff) | |
download | picogpsp-6ad4f13fbcefc9940dcf582a8b7c7da00f1b4f77.tar.gz picogpsp-6ad4f13fbcefc9940dcf582a8b7c7da00f1b4f77.tar.bz2 picogpsp-6ad4f13fbcefc9940dcf582a8b7c7da00f1b4f77.zip |
Only compile in cpu_threaded.c for HAVE_DYNAREC targets
-rw-r--r-- | Makefile.common | 5 |
1 files changed, 4 insertions, 1 deletions
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) |