Makefile.lite 1.58 KB
Newer Older
1
#  flac - Command-line FLAC encoder/decoder
2
#  Copyright (C) 2000,2001,2002  Josh Coalson
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
#  This program is free software; you can redistribute it and/or
#  modify it under the terms of the GNU General Public License
#  as published by the Free Software Foundation; either version 2
#  of the License, or (at your option) any later version.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program; if not, write to the Free Software
#  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.

Josh Coalson's avatar
Josh Coalson committed
18
19
20
21
22
#
# GNU makefile
#

PROGRAM_NAME = flac
Josh Coalson's avatar
Josh Coalson committed
23
24
ifeq ($(DARWIN_BUILD),yes)
INCLUDES     = -I./include -I../../include
Josh Coalson's avatar
Josh Coalson committed
25
LIBS         = -lFLAC -lgetopt -lutf8 -lc -lm
Josh Coalson's avatar
Josh Coalson committed
26
else
Josh Coalson's avatar
Josh Coalson committed
27
#@@@ TODO: conditionalize ogg includes, defines, and -logg
Josh Coalson's avatar
Josh Coalson committed
28
ifeq ($(SOLARIS_BUILD),yes)
Josh Coalson's avatar
Josh Coalson committed
29
INCLUDES     = -I./include -I../../include -I$(HOME)/local/include -DFLAC__HAS_OGG
Josh Coalson's avatar
Josh Coalson committed
30
LIBS         = -lOggFLAC -lFLAC -lgetopt -lutf8 -lm -L$(HOME)/local/lib -logg
Josh Coalson's avatar
Josh Coalson committed
31
else
Josh Coalson's avatar
Josh Coalson committed
32
#@@@ TODO: conditionalize ogg includes, defines, and -logg
Josh Coalson's avatar
Josh Coalson committed
33
INCLUDES     = -I./include -I../../include -I$(HOME)/local/include -DFLAC__HAS_OGG
Josh Coalson's avatar
Josh Coalson committed
34
LIBS         = -lOggFLAC -lFLAC -lgetopt -lutf8 -lm -L$(HOME)/local/lib -logg
Josh Coalson's avatar
Josh Coalson committed
35
endif
Josh Coalson's avatar
Josh Coalson committed
36
endif
Josh Coalson's avatar
Josh Coalson committed
37
38

OBJS = \
Josh Coalson's avatar
Josh Coalson committed
39
	analyze.o \
Josh Coalson's avatar
Josh Coalson committed
40
41
	decode.o \
	encode.o \
Josh Coalson's avatar
Josh Coalson committed
42
	file.o \
Josh Coalson's avatar
Josh Coalson committed
43
44
	main.o \
	vorbiscomment.o
Josh Coalson's avatar
Josh Coalson committed
45
46
47
48

include ../../build/exe.mk

# DO NOT DELETE THIS LINE -- make depend depends on it.