diff options
Diffstat (limited to 'apps/plugins/pdbox/pdbox.make')
-rw-r--r-- | apps/plugins/pdbox/pdbox.make | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/apps/plugins/pdbox/pdbox.make b/apps/plugins/pdbox/pdbox.make index f1b1e7efef..bb10db417d 100644 --- a/apps/plugins/pdbox/pdbox.make +++ b/apps/plugins/pdbox/pdbox.make | |||
@@ -29,34 +29,4 @@ PDBOXFLAGS = $(PLUGINFLAGS) \ | |||
29 | $(PDBOXBUILDDIR)/%.o: $(PDBOXSRCDIR)/%.c $(PDBOXSRCDIR)/pdbox.make | 29 | $(PDBOXBUILDDIR)/%.o: $(PDBOXSRCDIR)/%.c $(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 | # __________ __ ___. | ||
33 | # Open \______ \ ____ ____ | | _\_ |__ _______ ___ | ||
34 | # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ / | ||
35 | # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < < | ||
36 | # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \ | ||
37 | # \/ \/ \/ \/ \/ | ||
38 | # $Id$ | ||
39 | # | ||
40 | |||
41 | PDBOXSRCDIR := $(APPSDIR)/plugins/pdbox | ||
42 | PDBOXBUILDDIR := $(BUILDDIR)/apps/plugins/pdbox | ||
43 | |||
44 | ROCKS += $(PDBOXBUILDDIR)/pdbox.rock | ||
45 | |||
46 | PDBOXSRC := $(call preprocess, $(PDBOXSRCDIR)/SOURCES) | ||
47 | PDBOXOBJ := $(call c2obj, $(PDBOXSRC)) | ||
48 | |||
49 | # add source files to OTHERSRC to get automatic dependencies | ||
50 | OTHERSRC += $(PDBOXSRC) | ||
51 | 32 | ||
52 | $(PDBOXBUILDDIR)/pdbox.rock: $(PDBOXOBJ) | ||
53 | |||
54 | PDBOXFLAGS = $(PLUGINFLAGS) \ | ||
55 | -DFIXEDPOINT -DSTATIC -DPD \ | ||
56 | -I$(PDBOXSRCDIR) -I$(PDBOXSRCDIR)/PDa/src \ | ||
57 | -DBMALLOC -I$(PDBOXSRCDIR)/dbestfit-3.3 | ||
58 | |||
59 | # Compile PDBox with extra flags (adapted from ZXBox) | ||
60 | $(PDBOXBUILDDIR)/%.o: $(PDBOXSRCDIR)/%.c $(PDBOXSRCDIR)/pdbox.make | ||
61 | $(SILENT)mkdir -p $(dir $@) | ||
62 | $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(PDBOXFLAGS) -c $< -o $@ | ||