summaryrefslogtreecommitdiff
path: root/Makefile.lite
diff options
context:
space:
mode:
authorJosh Coalson <jcoalson@users.sourceforce.net>2007-09-12 02:42:05 +0000
committerJosh Coalson <jcoalson@users.sourceforce.net>2007-09-12 02:42:05 +0000
commit44937a765286e974ee785d663de2b299c99ed29e (patch)
tree87cdf06005ef1f40b6bb37fb5a6f0737e98b0de1 /Makefile.lite
parent546ba794ca7cc2c2995c6744c48099c554d3ed57 (diff)
downloadflac-44937a765286e974ee785d663de2b299c99ed29e.tar.gz
add new top level examples/ directory with one example for now (example_c_decode_file)
Diffstat (limited to 'Makefile.lite')
-rw-r--r--Makefile.lite48
1 files changed, 26 insertions, 22 deletions
diff --git a/Makefile.lite b/Makefile.lite
index 1db71635..92e5822b 100644
--- a/Makefile.lite
+++ b/Makefile.lite
@@ -30,8 +30,8 @@
topdir = .
-.PHONY: all doc src libFLAC libFLAC++ share plugin_common plugin_xmms flac metaflac test_grabbag test_libFLAC test_libFLAC++ test_seeking test_streams
-all: doc src
+.PHONY: all doc src examples libFLAC libFLAC++ share plugin_common plugin_xmms flac metaflac test_grabbag test_libFLAC test_libFLAC++ test_seeking test_streams
+all: doc src examples
DEFAULT_CONFIG = release
@@ -46,57 +46,61 @@ valgrind: all
release : all
doc:
- (cd $@ ; $(MAKE) -f Makefile.lite)
+ (cd $@ && $(MAKE) -f Makefile.lite)
src:
- (cd $@ ; $(MAKE) -f Makefile.lite $(CONFIG))
+ (cd $@ && $(MAKE) -f Makefile.lite $(CONFIG))
+
+examples: src
+ (cd $@ && $(MAKE) -f Makefile.lite $(CONFIG))
libFLAC:
- (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG))
+ (cd src/$@ && $(MAKE) -f Makefile.lite $(CONFIG))
libFLAC++: libFLAC
- (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG))
+ (cd src/$@ && $(MAKE) -f Makefile.lite $(CONFIG))
share: libFLAC
- (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG))
+ (cd src/$@ && $(MAKE) -f Makefile.lite $(CONFIG))
flac: libFLAC share
- (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG))
+ (cd src/$@ && $(MAKE) -f Makefile.lite $(CONFIG))
metaflac: libFLAC share
- (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG))
+ (cd src/$@ && $(MAKE) -f Makefile.lite $(CONFIG))
plugin_common: libFLAC
- (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG))
+ (cd src/$@ && $(MAKE) -f Makefile.lite $(CONFIG))
plugin_xmms: libFLAC plugin_common
- (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG))
+ (cd src/$@ && $(MAKE) -f Makefile.lite $(CONFIG))
test_seeking: libFLAC
- (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG))
+ (cd src/$@ && $(MAKE) -f Makefile.lite $(CONFIG))
test_streams: libFLAC
- (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG))
+ (cd src/$@ && $(MAKE) -f Makefile.lite $(CONFIG))
test_grabbag: share
- (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG))
+ (cd src/$@ && $(MAKE) -f Makefile.lite $(CONFIG))
test_libFLAC: libFLAC
- (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG))
+ (cd src/$@ && $(MAKE) -f Makefile.lite $(CONFIG))
test_libFLAC++: libFLAC libFLAC++
- (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG))
+ (cd src/$@ && $(MAKE) -f Makefile.lite $(CONFIG))
test: debug
- (cd test ; $(MAKE) -f Makefile.lite debug)
+ (cd test && $(MAKE) -f Makefile.lite debug)
testv: valgrind
- (cd test ; $(MAKE) -f Makefile.lite valgrind)
+ (cd test && $(MAKE) -f Makefile.lite valgrind)
testr: release
- (cd test ; $(MAKE) -f Makefile.lite release)
+ (cd test && $(MAKE) -f Makefile.lite release)
clean:
- -(cd doc ; $(MAKE) -f Makefile.lite clean)
- -(cd src ; $(MAKE) -f Makefile.lite clean)
- -(cd test ; $(MAKE) -f Makefile.lite clean)
+ -(cd doc && $(MAKE) -f Makefile.lite clean)
+ -(cd src && $(MAKE) -f Makefile.lite clean)
+ -(cd examples && $(MAKE) -f Makefile.lite clean)
+ -(cd test && $(MAKE) -f Makefile.lite clean)