summaryrefslogtreecommitdiff
path: root/apps/plugins/pdbox/pdbox.make
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2010-06-21 16:34:13 +0000
committerFrank Gevaerts <frank@gevaerts.be>2010-06-21 16:34:13 +0000
commit3c78cb35e8681c6addf7302ed773677b8aa13edf (patch)
tree635f50f36584dd57c890dccb0fb5968af1aa56e5 /apps/plugins/pdbox/pdbox.make
parent49dac9ae04df496e2c9b4aa387043aeb25ecbfde (diff)
downloadrockbox-3c78cb35e8681c6addf7302ed773677b8aa13edf.tar.gz
rockbox-3c78cb35e8681c6addf7302ed773677b8aa13edf.zip
Remove plugin-specific defines from the pdbox makefile, and add them to m_pd.h, which is the global pdbox header. This makes sure that the defines are set during depency generation so dependencies are correct.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@27016 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins/pdbox/pdbox.make')
-rw-r--r--apps/plugins/pdbox/pdbox.make3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/plugins/pdbox/pdbox.make b/apps/plugins/pdbox/pdbox.make
index 7031717d38..7abb31f3bb 100644
--- a/apps/plugins/pdbox/pdbox.make
+++ b/apps/plugins/pdbox/pdbox.make
@@ -20,8 +20,7 @@ OTHER_SRC += $(PDBOX_SRC)
20 20
21$(PDBOXBUILDDIR)/pdbox.rock: $(PDBOX_OBJ) $(MPEG_OBJ) $(CODECDIR)/libtlsf.a 21$(PDBOXBUILDDIR)/pdbox.rock: $(PDBOX_OBJ) $(MPEG_OBJ) $(CODECDIR)/libtlsf.a
22 22
23PDBOXFLAGS = $(PLUGINFLAGS) \ 23PDBOXFLAGS = $(PLUGINFLAGS)
24 -DFIXEDPOINT -DSTATIC -DPD -DUSEAPI_ROCKBOX
25 24
26# Compile PDBox with extra flags (adapted from ZXBox) 25# Compile PDBox with extra flags (adapted from ZXBox)
27$(PDBOXBUILDDIR)/%.o: $(PDBOXSRCDIR)/%.c $(PDBOXSRCDIR)/pdbox.make 26$(PDBOXBUILDDIR)/%.o: $(PDBOXSRCDIR)/%.c $(PDBOXSRCDIR)/pdbox.make