blob: c878f67eee640d5056c19cda56ecca27ad1c51ca [file] [log] [blame]
Josh Coalson6b05bc52001-06-08 00:13:21 +00001# FLAC - Free Lossless Audio Codec
Josh Coalsonafae69f2003-01-02 07:03:16 +00002# Copyright (C) 2001,2002,2003 Josh Coalson
Josh Coalson6b05bc52001-06-08 00:13:21 +00003#
4# This program is part of FLAC; you can redistribute it and/or
5# modify it under the terms of the GNU General Public License
6# as published by the Free Software Foundation; either version 2
7# of the License, or (at your option) any later version.
8#
9# This program is distributed in the hope that it will be useful,
10# but WITHOUT ANY WARRANTY; without even the implied warranty of
11# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12# GNU General Public License for more details.
13#
14# You should have received a copy of the GNU General Public License
15# along with this program; if not, write to the Free Software
16# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
Josh Coalsonbb7f6b92000-12-10 04:09:52 +000018#
19# GNU makefile
20#
Josh Coalsoncd0e3222002-10-23 22:08:13 +000021
22topdir = ..
23
Josh Coalsonbb7f6b92000-12-10 04:09:52 +000024all: clean
Josh Coalson34c1ea82002-12-04 04:57:33 +000025 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_libFLAC.sh
26 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_libFLAC++.sh
27 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_libOggFLAC.sh
28 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_libOggFLAC++.sh
Josh Coalsond3fe7282002-12-10 06:42:15 +000029 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_flac.sh
Josh Coalson34c1ea82002-12-04 04:57:33 +000030 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_metaflac.sh
31 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_grabbag.sh
32 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_streams.sh
33 $(FLAC__EXHAUSTIVE_TESTS) $(FLAC__VALGRIND) ./test_bins.sh
Josh Coalsonbb7f6b92000-12-10 04:09:52 +000034
Josh Coalson34c1ea82002-12-04 04:57:33 +000035debug : FLAC__EXHAUSTIVE_TESTS=FLAC__EXHAUSTIVE_TESTS=yes
36valgrind: FLAC__EXHAUSTIVE_TESTS=FLAC__EXHAUSTIVE_TESTS=no
37release : FLAC__EXHAUSTIVE_TESTS=FLAC__EXHAUSTIVE_TESTS=yes
Josh Coalsonbb7f6b92000-12-10 04:09:52 +000038
Josh Coalson34c1ea82002-12-04 04:57:33 +000039debug : FLAC__VALGRIND=FLAC__VALGRIND=no
40valgrind: FLAC__VALGRIND=FLAC__VALGRIND=yes
41release : FLAC__VALGRIND=FLAC__VALGRIND=no
42
43debug : all
44valgrind: all
45release : all
Josh Coalsonbb7f6b92000-12-10 04:09:52 +000046
47clean:
Josh Coalson291b4fc2002-12-17 08:15:20 +000048 rm -f *.raw *.flac *.ogg *.cmp *.aiff *.wav ../../test_files/bins/*.raw ../../test_files/bins/*.flac ../../test_files/bins/*.cmp *.diff *.log *.cue core