diff options
-rw-r--r-- | apps/plugins/pdbox/pdbox.make | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/plugins/pdbox/pdbox.make b/apps/plugins/pdbox/pdbox.make index bb10db417d..f2a3e4c646 100644 --- a/apps/plugins/pdbox/pdbox.make +++ b/apps/plugins/pdbox/pdbox.make | |||
@@ -12,13 +12,13 @@ PDBOXBUILDDIR := $(BUILDDIR)/apps/plugins/pdbox | |||
12 | 12 | ||
13 | ROCKS += $(PDBOXBUILDDIR)/pdbox.rock | 13 | ROCKS += $(PDBOXBUILDDIR)/pdbox.rock |
14 | 14 | ||
15 | PDBOXSRC := $(call preprocess, $(PDBOXSRCDIR)/SOURCES) | 15 | PDBOX_SRC := $(call preprocess, $(PDBOXSRCDIR)/SOURCES) |
16 | PDBOXOBJ := $(call c2obj, $(PDBOXSRC)) | 16 | PDBOX_OBJ := $(call c2obj, $(PDBOX_SRC)) |
17 | 17 | ||
18 | # add source files to OTHERSRC to get automatic dependencies | 18 | # add source files to OTHERSRC to get automatic dependencies |
19 | OTHERSRC += $(PDBOXSRC) | 19 | OTHER_SRC += $(PDBOX_SRC) |
20 | 20 | ||
21 | $(PDBOXBUILDDIR)/pdbox.rock: $(PDBOXOBJ) | 21 | $(PDBOXBUILDDIR)/pdbox.rock: $(PDBOX_OBJ) |
22 | 22 | ||
23 | PDBOXFLAGS = $(PLUGINFLAGS) \ | 23 | PDBOXFLAGS = $(PLUGINFLAGS) \ |
24 | -DFIXEDPOINT -DSTATIC -DPD \ | 24 | -DFIXEDPOINT -DSTATIC -DPD \ |
@@ -26,7 +26,7 @@ PDBOXFLAGS = $(PLUGINFLAGS) \ | |||
26 | -DBMALLOC -I$(PDBOXSRCDIR)/dbestfit-3.3 | 26 | -DBMALLOC -I$(PDBOXSRCDIR)/dbestfit-3.3 |
27 | 27 | ||
28 | # Compile PDBox with extra flags (adapted from ZXBox) | 28 | # Compile PDBox with extra flags (adapted from ZXBox) |
29 | $(PDBOXBUILDDIR)/%.o: $(PDBOXSRCDIR)/%.c $(PDBOXSRCDIR)/pdbox.make | 29 | $(PDBOXBUILDDIR)/%.o: $(PDBOXSRCDIR)/%.c $(PDBOXSRCDIR)/pdbox.h $(PDBOXSRCDIR)/pdbox.make |
30 | $(SILENT)mkdir -p $(dir $@) | 30 | $(SILENT)mkdir -p $(dir $@) |
31 | $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PDBOXFLAGS) -c $< -o $@ | 31 | $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PDBOXFLAGS) -c $< -o $@ |
32 | 32 | ||