summaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common21
1 files changed, 21 insertions, 0 deletions
diff --git a/Makefile.common b/Makefile.common
new file mode 100644
index 0000000..a8e3323
--- /dev/null
+++ b/Makefile.common
@@ -0,0 +1,21 @@
+INCFLAGS := -I$(CORE_DIR)/libretro -I$(CORE_DIR)/src
+
+ifeq ($(HAVE_GRIFFIN), 1)
+SOURCES_C := $(CORE_DIR)/gpsp_griffin.c
+else
+SOURCES_C := $(CORE_DIR)/main.c \
+ $(CORE_DIR)/cpu.c \
+ $(CORE_DIR)/memory.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
+
+endif
+
+SOURCES_ASM := $(CORE_DIR)/x86/x86_stub.S
+
+INCFLAGS := -I$(CORE_DIR)