forked from len0rd/rockbox
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
This commit is contained in:
parent
9c1283c80d
commit
8010eafdf7
1 changed files with 5 additions and 5 deletions
|
@ -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 $@
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue