Mercurial > hg > sv-dependency-builds
annotate src/flac-1.2.1/examples/c/encode/file/Makefile.lite @ 168:ceec0dd9ec9c
Replace these with versions built using an older toolset (so as to avoid ABI compatibilities when linking on Ubuntu 14.04 for packaging purposes)
author | Chris Cannam <cannam@all-day-breakfast.com> |
---|---|
date | Fri, 07 Feb 2020 11:51:13 +0000 |
parents | 98c1576536ae |
children |
rev | line source |
---|---|
cannam@86 | 1 # example_c_encode_file - Simple FLAC file encoder using libFLAC |
cannam@86 | 2 # Copyright (C) 2007 Josh Coalson |
cannam@86 | 3 # |
cannam@86 | 4 # This program is free software; you can redistribute it and/or |
cannam@86 | 5 # modify it under the terms of the GNU General Public License |
cannam@86 | 6 # as published by the Free Software Foundation; either version 2 |
cannam@86 | 7 # of the License, or (at your option) any later version. |
cannam@86 | 8 # |
cannam@86 | 9 # This program is distributed in the hope that it will be useful, |
cannam@86 | 10 # but WITHOUT ANY WARRANTY; without even the implied warranty of |
cannam@86 | 11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
cannam@86 | 12 # GNU General Public License for more details. |
cannam@86 | 13 # |
cannam@86 | 14 # You should have received a copy of the GNU General Public License |
cannam@86 | 15 # along with this program; if not, write to the Free Software |
cannam@86 | 16 # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
cannam@86 | 17 |
cannam@86 | 18 # |
cannam@86 | 19 # GNU makefile |
cannam@86 | 20 # |
cannam@86 | 21 |
cannam@86 | 22 topdir = ../../../.. |
cannam@86 | 23 libdir = $(topdir)/obj/$(BUILD)/lib |
cannam@86 | 24 |
cannam@86 | 25 PROGRAM_NAME = example_c_encode_file |
cannam@86 | 26 |
cannam@86 | 27 INCLUDES = -I$(topdir)/include |
cannam@86 | 28 |
cannam@86 | 29 ifeq ($(DARWIN_BUILD),yes) |
cannam@86 | 30 EXPLICIT_LIBS = $(libdir)/libFLAC.a $(OGG_LIB_DIR)/libogg.a -lm |
cannam@86 | 31 else |
cannam@86 | 32 LIBS = -lFLAC -L$(OGG_LIB_DIR) -logg -lm |
cannam@86 | 33 endif |
cannam@86 | 34 |
cannam@86 | 35 SRCS_C = main.c |
cannam@86 | 36 |
cannam@86 | 37 include $(topdir)/build/exe.mk |
cannam@86 | 38 |
cannam@86 | 39 # DO NOT DELETE THIS LINE -- make depend depends on it. |