6 # all : build all libraries and programs in the default configuration (currently 'release')
7 # debug : build all libraries and programs in debug mode
8 # release : build all libraries and programs in release mode
9 # test : run the unit and stream tests
10 # clean : remove all non-distro files
13 all: libFLAC flac metaflac test_streams test_unit
15 DEFAULT_CONFIG = release
17 CONFIG = $(DEFAULT_CONFIG)
19 debug : CONFIG = debug
20 release : CONFIG = release
26 (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG))
29 (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG))
32 (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG))
35 (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG))
38 (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG))
41 (cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG))
44 (cd test ; $(MAKE) -f Makefile.lite)
47 -(cd src/libFLAC ; $(MAKE) -f Makefile.lite clean)
48 -(cd src/flac ; $(MAKE) -f Makefile.lite clean)
49 -(cd src/metaflac ; $(MAKE) -f Makefile.lite clean)
50 -(cd src/plugin_xmms ; $(MAKE) -f Makefile.lite clean)
51 -(cd src/test_streams ; $(MAKE) -f Makefile.lite clean)
52 -(cd src/test_unit ; $(MAKE) -f Makefile.lite clean)
53 -(cd test ; $(MAKE) -f Makefile.lite clean)