summaryrefslogtreecommitdiff
path: root/Makefile.lite
diff options
context:
space:
mode:
authorJosh Coalson <jcoalson@users.sourceforce.net>2002-12-04 04:57:33 +0000
committerJosh Coalson <jcoalson@users.sourceforce.net>2002-12-04 04:57:33 +0000
commit34c1ea8ca2a567043d079c4a6e0baa3f0f6341d4 (patch)
tree6f97818ff043e25cb60a24031a793790da57c5a2 /Makefile.lite
parent23fec2b7dc23478cb6e6ae44388551c2d71c0ac9 (diff)
downloadflac-34c1ea8ca2a567043d079c4a6e0baa3f0f6341d4.tar.gz
instrument for valgrind
Diffstat (limited to 'Makefile.lite')
-rw-r--r--Makefile.lite11
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile.lite b/Makefile.lite
index f5956093..3d4af364 100644
--- a/Makefile.lite
+++ b/Makefile.lite
@@ -22,6 +22,7 @@
#
# all : build all libraries and programs in the default configuration (currently 'release')
# debug : build all libraries and programs in debug mode
+# valgrind: build all libraries and programs in debug mode, dynamically linked and ready for valgrind
# release : build all libraries and programs in release mode
# test : run the unit and stream tests
# clean : remove all non-distro files
@@ -37,9 +38,11 @@ DEFAULT_CONFIG = release
CONFIG = $(DEFAULT_CONFIG)
debug : CONFIG = debug
+valgrind: CONFIG = valgrind
release : CONFIG = release
debug : all
+valgrind: all
release : all
doc:
@@ -91,7 +94,13 @@ test_libOggFLAC++: libFLAC libOggFLAC libOggFLAC++
(cd src/$@ ; $(MAKE) -f Makefile.lite $(CONFIG))
test: debug
- (cd test ; $(MAKE) -f Makefile.lite)
+ (cd test ; $(MAKE) -f Makefile.lite debug)
+
+testv: valgrind
+ (cd test ; $(MAKE) -f Makefile.lite valgrind)
+
+testr: release
+ (cd test ; $(MAKE) -f Makefile.lite release)
clean:
-(cd doc ; $(MAKE) -f Makefile.lite clean)