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)
16PDBOX_OBJ := $(call c2obj, $(PDBOX_SRC)) 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
19OTHER_SRC += $(PDBOX_SRC) 19OTHERSRC += $(PDBOX_SRC)
20 20
21$(PDBOXBUILDDIR)/pdbox.rock: $(PDBOX_OBJ) 21$(PDBOXBUILDDIR)/pdbox.rock: $(PDBOX_OBJ)
22 22
23PDBOXFLAGS = $(PLUGINFLAGS) \ 23PDBOXFLAGS = $(PLUGINFLAGS) \
24 -DFIXEDPOINT -DSTATIC -DPD \ 24 -DFIXEDPOINT -DSTATIC -DPD -DUSEAPI_ROCKBOX \
25 -I$(PDBOXSRCDIR) -I$(PDBOXSRCDIR)/PDa/src \ 25 -I$(PDBOXSRCDIR) -I$(PDBOXSRCDIR)/PDa/src \
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.h $(PDBOXSRCDIR)/pdbox.make 29$(PDBOXBUILDDIR)/%.o: $(PDBOXSRCDIR)/%.c $(PLUGINBITMAPLIB) $(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