summaryrefslogtreecommitdiff
path: root/apps/plugins/pacbox/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pacbox/Makefile')
-rw-r--r--apps/plugins/pacbox/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/plugins/pacbox/Makefile b/apps/plugins/pacbox/Makefile
index 817c6d451a..0b7f4b9e15 100644
--- a/apps/plugins/pacbox/Makefile
+++ b/apps/plugins/pacbox/Makefile
@@ -19,10 +19,13 @@ endif
19 19
20LINKFILE := $(OBJDIR)/link.lds 20LINKFILE := $(OBJDIR)/link.lds
21DEPFILE = $(OBJDIR)/dep-pacbox 21DEPFILE = $(OBJDIR)/dep-pacbox
22SRC = arcade.c pacbox.c hardware.c z80.c 22
23# This sets up 'SRC' based on the files mentioned in SOURCES
24include $(TOOLSDIR)/makesrc.inc
23 25
24SOURCES = $(SRC) 26SOURCES = $(SRC)
25OBJS := $(SRC:%.c=$(OBJDIR)/%.o) 27OBJS2 := $(SRC:%.c=$(OBJDIR)/%.o)
28OBJS = $(patsubst %.S, $(OBJDIR)/%.o, $(OBJS2))
26DIRS = . 29DIRS = .
27 30
28LDS := ../plugin.lds 31LDS := ../plugin.lds