mirror of
https://github.com/claunia/flac.git
synced 2025-12-16 18:54:26 +00:00
Initial revision
This commit is contained in:
46
Makefile
Normal file
46
Makefile
Normal file
@@ -0,0 +1,46 @@
|
||||
#
|
||||
# GNU Makefile
|
||||
#
|
||||
# Useful targets
|
||||
#
|
||||
# all : build all libraries and programs in the default configuration (currently 'release')
|
||||
# debug : build all libraries and programs in debug mode
|
||||
# release : build all libraries and programs in release mode
|
||||
# test : run the unit and stream tests
|
||||
# clean : remove all non-distro files
|
||||
#
|
||||
|
||||
all: libFLAC flac test_streams test_unit
|
||||
|
||||
DEFAULT_CONFIG = release
|
||||
|
||||
CONFIG = $(DEFAULT_CONFIG)
|
||||
|
||||
debug : CONFIG = debug
|
||||
release : CONFIG = release
|
||||
|
||||
debug : all
|
||||
release : all
|
||||
|
||||
libFLAC:
|
||||
(cd src/$@ ; make $(CONFIG))
|
||||
|
||||
flac: libFLAC
|
||||
(cd src/$@ ; make $(CONFIG))
|
||||
|
||||
test_streams: libFLAC
|
||||
(cd src/$@ ; make $(CONFIG))
|
||||
|
||||
test_unit: libFLAC
|
||||
(cd src/$@ ; make $(CONFIG))
|
||||
|
||||
test: debug
|
||||
(cd test ; make)
|
||||
|
||||
clean:
|
||||
-(cd src/libFLAC ; make clean)
|
||||
-(cd src/flac ; make clean)
|
||||
-(cd src/plugin_xmms ; make clean)
|
||||
-(cd src/test_streams ; make clean)
|
||||
-(cd src/test_unit ; make clean)
|
||||
-(cd test ; make clean)
|
||||
Reference in New Issue
Block a user