Josh Coalson | a86f870 | 2002-08-20 04:03:24 +0000 | [diff] [blame] | 1 | # test_libOggFLAC++ - Unit tester for libOggFLAC++ |
Josh Coalson | 9564390 | 2004-01-17 04:14:43 +0000 | [diff] [blame] | 2 | # Copyright (C) 2002,2003,2004 Josh Coalson |
Josh Coalson | a86f870 | 2002-08-20 04:03:24 +0000 | [diff] [blame] | 3 | # |
| 4 | # This program is free software; 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 | |
| 18 | # |
| 19 | # GNU makefile |
| 20 | # |
| 21 | |
Josh Coalson | cd0e322 | 2002-10-23 22:08:13 +0000 | [diff] [blame] | 22 | topdir = ../.. |
Josh Coalson | 2757af6 | 2004-10-30 00:03:21 +0000 | [diff] [blame] | 23 | libdir = $(topdir)/obj/$(BUILD)/lib |
Josh Coalson | cd0e322 | 2002-10-23 22:08:13 +0000 | [diff] [blame] | 24 | |
Josh Coalson | a86f870 | 2002-08-20 04:03:24 +0000 | [diff] [blame] | 25 | PROGRAM_NAME = test_libOggFLAC++ |
Josh Coalson | 2757af6 | 2004-10-30 00:03:21 +0000 | [diff] [blame] | 26 | |
| 27 | INCLUDES = -I$(topdir)/include |
| 28 | |
| 29 | ifeq ($(DARWIN_BUILD),yes) |
| 30 | EXPLICIT_LIBS = $(libdir)/libgrabbag.a $(libdir)/libreplaygain_analysis.a $(libdir)/libOggFLAC++.a $(libdir)/libOggFLAC.a $(libdir)/libFLAC.a $(OGG_LIB_DIR)/libogg.a -lm |
| 31 | else |
| 32 | LIBS = -lgrabbag -lreplaygain_analysis -lOggFLAC++ -lOggFLAC -lFLAC -L$(OGG_LIB_DIR) -logg -lm |
| 33 | endif |
| 34 | |
Josh Coalson | 26dff91 | 2003-01-10 05:39:00 +0000 | [diff] [blame] | 35 | SRCS_C = \ |
| 36 | file_utils.c \ |
| 37 | metadata_utils.c |
Josh Coalson | b74fc98 | 2002-11-20 06:40:08 +0000 | [diff] [blame] | 38 | SRCS_CPP = \ |
| 39 | decoders.cpp \ |
| 40 | encoders.cpp \ |
Josh Coalson | b74fc98 | 2002-11-20 06:40:08 +0000 | [diff] [blame] | 41 | main.cpp |
Josh Coalson | a86f870 | 2002-08-20 04:03:24 +0000 | [diff] [blame] | 42 | |
Josh Coalson | cd0e322 | 2002-10-23 22:08:13 +0000 | [diff] [blame] | 43 | include $(topdir)/build/exe.mk |
Josh Coalson | a86f870 | 2002-08-20 04:03:24 +0000 | [diff] [blame] | 44 | |
| 45 | LINK = $(CCC) $(LINKAGE) |
| 46 | |
| 47 | # DO NOT DELETE THIS LINE -- make depend depends on it. |