diff options
Diffstat (limited to 'apps/plugins/pacbox/Makefile')
-rw-r--r-- | apps/plugins/pacbox/Makefile | 7 |
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 | ||
20 | LINKFILE := $(OBJDIR)/link.lds | 20 | LINKFILE := $(OBJDIR)/link.lds |
21 | DEPFILE = $(OBJDIR)/dep-pacbox | 21 | DEPFILE = $(OBJDIR)/dep-pacbox |
22 | SRC = arcade.c pacbox.c hardware.c z80.c | 22 | |
23 | # This sets up 'SRC' based on the files mentioned in SOURCES | ||
24 | include $(TOOLSDIR)/makesrc.inc | ||
23 | 25 | ||
24 | SOURCES = $(SRC) | 26 | SOURCES = $(SRC) |
25 | OBJS := $(SRC:%.c=$(OBJDIR)/%.o) | 27 | OBJS2 := $(SRC:%.c=$(OBJDIR)/%.o) |
28 | OBJS = $(patsubst %.S, $(OBJDIR)/%.o, $(OBJS2)) | ||
26 | DIRS = . | 29 | DIRS = . |
27 | 30 | ||
28 | LDS := ../plugin.lds | 31 | LDS := ../plugin.lds |