flac/Makefile.lite

50 lines
1.2 KiB
Makefile
Raw Normal View History

2000-12-10 04:09:52 +00:00
#
# 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) -f Makefile.lite $(CONFIG))
2000-12-10 04:09:52 +00:00
flac: libFLAC
(cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG))
2000-12-10 04:09:52 +00:00
2000-12-22 22:49:09 +00:00
plugin_xmms: libFLAC
(cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG))
2000-12-22 22:49:09 +00:00
2000-12-10 04:09:52 +00:00
test_streams: libFLAC
(cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG))
2000-12-10 04:09:52 +00:00
test_unit: libFLAC
(cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG))
2000-12-10 04:09:52 +00:00
test: debug
(cd test ; $(MAKE) -f Makefile.lite)
2000-12-10 04:09:52 +00:00
clean:
-(cd src/libFLAC ; $(MAKE) -f Makefile.lite clean)
-(cd src/flac ; $(MAKE) -f Makefile.lite clean)
-(cd src/plugin_xmms ; $(MAKE) -f Makefile.lite clean)
-(cd src/test_streams ; $(MAKE) -f Makefile.lite clean)
-(cd src/test_unit ; $(MAKE) -f Makefile.lite clean)
-(cd test ; $(MAKE) -f Makefile.lite clean)