New makefile solution: A single invocation of 'make' to build the entire tree. Fully...
[kugel-rb.git] / apps / plugins / mpegplayer / mpegplayer.make
blob7242be371573b42652019cfe0b1533aeb3268fc0
1 # __________ __ ___.
2 # Open \______ \ ____ ____ | | _\_ |__ _______ ___
3 # Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
4 # Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
5 # Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
6 # \/ \/ \/ \/ \/
7 # $Id: Makefile 19082 2008-11-10 23:54:24Z zagor $
10 MPEGSRCDIR := $(APPSDIR)/plugins/mpegplayer
11 MPEGBUILDDIR := $(BUILDDIR)/apps/plugins/mpegplayer
13 ROCKS += $(MPEGBUILDDIR)/mpegplayer.rock
15 MPEG_SRC := $(call preprocess, $(MPEGSRCDIR)/SOURCES)
16 MPEG_OBJ := $(call c2obj, $(MPEG_SRC))
18 # add source files to OTHER_SRC to get automatic dependencies
19 OTHER_SRC += $(MPEG_SRC)
21 $(MPEGBUILDDIR)/mpegplayer.rock: $(MPEG_OBJ) $(CODECDIR)/libmad-mpeg.a