summaryrefslogtreecommitdiff
path: root/apps/plugins/pdbox/pdbox.make
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/pdbox/pdbox.make')
-rw-r--r--apps/plugins/pdbox/pdbox.make10
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
13ROCKS += $(PDBOXBUILDDIR)/pdbox.rock 13ROCKS += $(PDBOXBUILDDIR)/pdbox.rock
14 14
15PDBOXSRC := $(call preprocess, $(PDBOXSRCDIR)/SOURCES) 15PDBOX_SRC := $(call preprocess, $(PDBOXSRCDIR)/SOURCES)
16PDBOXOBJ := $(call c2obj, $(PDBOXSRC)) 16PDBOX_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
19OTHERSRC += $(PDBOXSRC) 19OTHER_SRC += $(PDBOX_SRC)
20 20
21$(PDBOXBUILDDIR)/pdbox.rock: $(PDBOXOBJ) 21$(PDBOXBUILDDIR)/pdbox.rock: $(PDBOX_OBJ)
22 22
23PDBOXFLAGS = $(PLUGINFLAGS) \ 23PDBOXFLAGS = $(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