Makefile.lite 1.27 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
25
26
27
ifeq ($(DARWIN_BUILD),yes)
INCLUDES     = -I./include -I../../include
LIBS         = -lFLAC -lc -lm
else
#@@@ TODO: conditionalize ogg includes, defines, and -logg
Josh Coalson's avatar
Josh Coalson committed
28
INCLUDES     = -I./include -I../../include -I$(HOME)/local/include -DFLAC__HAS_OGG
29
LIBS         = -lFLAC -lm -L$(HOME)/local/lib -logg
Josh Coalson's avatar
Josh Coalson committed
30
endif
Josh Coalson's avatar
Josh Coalson committed
31
32

OBJS = \
Josh Coalson's avatar
Josh Coalson committed
33
	analyze.o \
Josh Coalson's avatar
Josh Coalson committed
34
35
	decode.o \
	encode.o \
Josh Coalson's avatar
Josh Coalson committed
36
	file.o \
Josh Coalson's avatar
Josh Coalson committed
37
38
39
40
41
	main.o

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

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