blob: 65f6e3d75014d1cbf6835799934accec8c840bcb [file] [log] [blame]
Josh Coalson57ba6f42002-06-07 05:27:37 +00001# test_libFLAC - Unit tester for libFLAC
Josh Coalson95643902004-01-17 04:14:43 +00002# Copyright (C) 2000,2001,2002,2003,2004 Josh Coalson
Josh Coalson6b05bc52001-06-08 00:13:21 +00003#
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
Josh Coalsonbb7f6b92000-12-10 04:09:52 +000018#
19# GNU makefile
20#
21
Josh Coalsoncd0e3222002-10-23 22:08:13 +000022topdir = ../..
Josh Coalson2757af62004-10-30 00:03:21 +000023libdir = $(topdir)/obj/$(BUILD)/lib
Josh Coalsoncd0e3222002-10-23 22:08:13 +000024
Josh Coalson57ba6f42002-06-07 05:27:37 +000025PROGRAM_NAME = test_libFLAC
Josh Coalson2757af62004-10-30 00:03:21 +000026
27INCLUDES = -I../libFLAC/include -I$(topdir)/include
28
29ifeq ($(DARWIN_BUILD),yes)
30EXPLICIT_LIBS = $(libdir)/libgrabbag.a $(libdir)/libreplaygain_analysis.a $(libdir)/libFLAC.a -lm
31else
32LIBS = -lgrabbag -lreplaygain_analysis -lFLAC -lm
33endif
34
Josh Coalsonb74fc982002-11-20 06:40:08 +000035SRCS_C = \
36 bitbuffer.c \
37 decoders.c \
38 encoders.c \
39 file_utils.c \
40 main.c \
41 metadata.c \
42 metadata_manip.c \
43 metadata_object.c \
44 metadata_utils.c
Josh Coalsonbb7f6b92000-12-10 04:09:52 +000045
Josh Coalsoncd0e3222002-10-23 22:08:13 +000046include $(topdir)/build/exe.mk
Josh Coalsonbb7f6b92000-12-10 04:09:52 +000047
48# DO NOT DELETE THIS LINE -- make depend depends on it.