summaryrefslogtreecommitdiff
path: root/apps/plugins/mpegplayer/mpegplayer.make
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/mpegplayer/mpegplayer.make')
-rw-r--r--apps/plugins/mpegplayer/mpegplayer.make32
1 files changed, 0 insertions, 32 deletions
diff --git a/apps/plugins/mpegplayer/mpegplayer.make b/apps/plugins/mpegplayer/mpegplayer.make
deleted file mode 100644
index af2156787e..0000000000
--- a/apps/plugins/mpegplayer/mpegplayer.make
+++ /dev/null
@@ -1,32 +0,0 @@
1# __________ __ ___.
2# Open \______ \ ____ ____ | | _\_ |__ _______ ___
3# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
6# \/ \/ \/ \/ \/
7# $Id$
8#
9
10MPEGSRCDIR := $(APPSDIR)/plugins/mpegplayer
11MPEGBUILDDIR := $(BUILDDIR)/apps/plugins/mpegplayer
12
13ROCKS += $(MPEGBUILDDIR)/mpegplayer.rock
14
15MPEG_SRC := $(call preprocess, $(MPEGSRCDIR)/SOURCES)
16MPEG_OBJ := $(call c2obj, $(MPEG_SRC))
17
18# add source files to OTHER_SRC to get automatic dependencies
19OTHER_SRC += $(MPEG_SRC)
20
21# Set '-fgnu89-inline' if supported (GCCVER >= 4.1.3, GCCNUM > 401)
22ifeq ($(shell expr $(GCCNUM) \> 401),1)
23 MPEGCFLAGS = $(PLUGINFLAGS) -fgnu89-inline
24else
25 MPEGCFLAGS = $(PLUGINFLAGS)
26endif
27
28$(MPEGBUILDDIR)/mpegplayer.rock: $(MPEG_OBJ) $(CODECDIR)/libmad-mpeg.a
29
30$(MPEGBUILDDIR)/%.o: $(MPEGSRCDIR)/%.c $(MPEGSRCDIR)/mpegplayer.make
31 $(SILENT)mkdir -p $(dir $@)
32 $(call PRINTS,CC $(subst $(ROOTDIR)/,,$<))$(CC) -I$(dir $<) $(MPEGCFLAGS) -c $< -o $@