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 test_streams test_unit
15 DEFAULT_CONFIG = release
17 CONFIG = $(DEFAULT_CONFIG)
19 debug : CONFIG = debug
20 release : CONFIG = release
26 (cd src/$@ ; $(MAKE) $(CONFIG))
29 (cd src/$@ ; $(MAKE) $(CONFIG))
32 (cd src/$@ ; $(MAKE) $(CONFIG))
35 (cd src/$@ ; $(MAKE) $(CONFIG))
38 (cd src/$@ ; $(MAKE) $(CONFIG))
44 -(cd src/libFLAC ; $(MAKE) clean)
45 -(cd src/flac ; $(MAKE) clean)
46 -(cd src/plugin_xmms ; $(MAKE) clean)
47 -(cd src/test_streams ; $(MAKE) clean)
48 -(cd src/test_unit ; $(MAKE) clean)
49 -(cd test ; $(MAKE) clean)