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 LINKFILE := $(OBJDIR)/link.lds DEPFILE = $(OBJDIR)/dep-pacbox -SRC = arcade.c pacbox.c hardware.c z80.c + +# This sets up 'SRC' based on the files mentioned in SOURCES +include $(TOOLSDIR)/makesrc.inc SOURCES = $(SRC) -OBJS := $(SRC:%.c=$(OBJDIR)/%.o) +OBJS2 := $(SRC:%.c=$(OBJDIR)/%.o) +OBJS = $(patsubst %.S, $(OBJDIR)/%.o, $(OBJS2)) DIRS = . LDS := ../plugin.lds |