summaryrefslogtreecommitdiffstats
path: root/apps/plugins/pdbox
diff options
context:
space:
mode:
authorDominik Wenger <domonoky@googlemail.com>2009-06-02 20:24:05 +0000
committerDominik Wenger <domonoky@googlemail.com>2009-06-02 20:24:05 +0000
commit8010eafdf7eb9c26a04d5ac6994069d2f449aefc (patch)
tree601b698d520ecb68a88b63f8d6a31bd9a2f93819 /apps/plugins/pdbox
parent9c1283c80dc23633ecdf84e1e6534137761594ae (diff)
downloadrockbox-8010eafdf7eb9c26a04d5ac6994069d2f449aefc.tar.gz
rockbox-8010eafdf7eb9c26a04d5ac6994069d2f449aefc.tar.bz2
rockbox-8010eafdf7eb9c26a04d5ac6994069d2f449aefc.zip
pdbox: correct makefile for make reconf. From wincent balin (FS#10244).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21169 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/pdbox')
-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
ROCKS += $(PDBOXBUILDDIR)/pdbox.rock
-PDBOXSRC := $(call preprocess, $(PDBOXSRCDIR)/SOURCES)
-PDBOXOBJ := $(call c2obj, $(PDBOXSRC))
+PDBOX_SRC := $(call preprocess, $(PDBOXSRCDIR)/SOURCES)
+PDBOX_OBJ := $(call c2obj, $(PDBOX_SRC))
# add source files to OTHERSRC to get automatic dependencies
-OTHERSRC += $(PDBOXSRC)
+OTHER_SRC += $(PDBOX_SRC)
-$(PDBOXBUILDDIR)/pdbox.rock: $(PDBOXOBJ)
+$(PDBOXBUILDDIR)/pdbox.rock: $(PDBOX_OBJ)
PDBOXFLAGS = $(PLUGINFLAGS) \
-DFIXEDPOINT -DSTATIC -DPD \
@@ -26,7 +26,7 @@ PDBOXFLAGS = $(PLUGINFLAGS) \
-DBMALLOC -I$(PDBOXSRCDIR)/dbestfit-3.3
# Compile PDBox with extra flags (adapted from ZXBox)
-$(PDBOXBUILDDIR)/%.o: $(PDBOXSRCDIR)/%.c $(PDBOXSRCDIR)/pdbox.make
+$(PDBOXBUILDDIR)/%.o: $(PDBOXSRCDIR)/%.c $(PDBOXSRCDIR)/pdbox.h $(PDBOXSRCDIR)/pdbox.make
$(SILENT)mkdir -p $(dir $@)
$(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PDBOXFLAGS) -c $< -o $@