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.make6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/plugins/pdbox/pdbox.make b/apps/plugins/pdbox/pdbox.make
index f2a3e4c646..83147bbbae 100644
--- a/apps/plugins/pdbox/pdbox.make
+++ b/apps/plugins/pdbox/pdbox.make
@@ -16,17 +16,17 @@ PDBOX_SRC := $(call preprocess, $(PDBOXSRCDIR)/SOURCES)
PDBOX_OBJ := $(call c2obj, $(PDBOX_SRC))
# add source files to OTHERSRC to get automatic dependencies
-OTHER_SRC += $(PDBOX_SRC)
+OTHERSRC += $(PDBOX_SRC)
$(PDBOXBUILDDIR)/pdbox.rock: $(PDBOX_OBJ)
PDBOXFLAGS = $(PLUGINFLAGS) \
- -DFIXEDPOINT -DSTATIC -DPD \
+ -DFIXEDPOINT -DSTATIC -DPD -DUSEAPI_ROCKBOX \
-I$(PDBOXSRCDIR) -I$(PDBOXSRCDIR)/PDa/src \
-DBMALLOC -I$(PDBOXSRCDIR)/dbestfit-3.3
# Compile PDBox with extra flags (adapted from ZXBox)
-$(PDBOXBUILDDIR)/%.o: $(PDBOXSRCDIR)/%.c $(PDBOXSRCDIR)/pdbox.h $(PDBOXSRCDIR)/pdbox.make
+$(PDBOXBUILDDIR)/%.o: $(PDBOXSRCDIR)/%.c $(PLUGINBITMAPLIB) $(PDBOXSRCDIR)/pdbox.make
$(SILENT)mkdir -p $(dir $@)
$(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PDBOXFLAGS) -c $< -o $@