blob: b144523a073434357e6c4c82d91ceee764477b5d [file] [log] [blame]
Josh Coalson6b05bc52001-06-08 00:13:21 +00001# test_streams - Simple test pattern generator
Erik de Castro Lopob1982fb2013-05-25 17:11:19 +10002# Copyright (C) 2000-2009 Josh Coalson
Erik de Castro Lopo14373912014-11-24 22:07:15 +11003# Copyright (C) 2011-2014 Xiph.Org Foundation
Josh Coalsoncd66fc02001-06-18 02:34:09 +00004#
Josh Coalson6b05bc52001-06-08 00:13:21 +00005# This program is free software; you can redistribute it and/or
6# modify it under the terms of the GNU General Public License
7# as published by the Free Software Foundation; either version 2
8# of the License, or (at your option) any later version.
Josh Coalsoncd66fc02001-06-18 02:34:09 +00009#
Josh Coalson6b05bc52001-06-08 00:13:21 +000010# This program is distributed in the hope that it will be useful,
11# but WITHOUT ANY WARRANTY; without even the implied warranty of
12# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13# GNU General Public License for more details.
Josh Coalsoncd66fc02001-06-18 02:34:09 +000014#
Miroslav Lichvar6a1f59b2012-12-04 17:36:05 +010015# You should have received a copy of the GNU General Public License along
16# with this program; if not, write to the Free Software Foundation, Inc.,
17# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
Josh Coalson6b05bc52001-06-08 00:13:21 +000018
Josh Coalsonbb7f6b92000-12-10 04:09:52 +000019#
20# GNU makefile
21#
22
Josh Coalsoncd0e3222002-10-23 22:08:13 +000023topdir = ../..
Thomas Zanderc05b7ba2015-10-29 14:22:12 +010024
25include $(topdir)/build/config.mk
Erik de Castro Lopo85d5c532013-01-02 22:37:42 +110026libdir = $(topdir)/objs/$(BUILD)/lib
Josh Coalsoncd0e3222002-10-23 22:08:13 +000027
Josh Coalsonbb7f6b92000-12-10 04:09:52 +000028PROGRAM_NAME = test_streams
Josh Coalson2757af62004-10-30 00:03:21 +000029
30INCLUDES = -I./include -I$(topdir)/include
31
Evan Ramos9df67362014-06-23 16:24:49 -050032ifeq ($(OS),Darwin)
33 EXPLICIT_LIBS = $(libdir)/libgrabbag.a -lm
34else
35ifeq ($(findstring Windows,$(OS)),Windows)
36 LIBS = -lgrabbag -lwin_utf8_io -lm
37else
38 LIBS = -lgrabbag -lm
39endif
40endif
Josh Coalson2757af62004-10-30 00:03:21 +000041
Josh Coalsonb74fc982002-11-20 06:40:08 +000042SRCS_C = \
43 main.c
Josh Coalsonbb7f6b92000-12-10 04:09:52 +000044
Josh Coalsoncd0e3222002-10-23 22:08:13 +000045include $(topdir)/build/exe.mk
Josh Coalsonbb7f6b92000-12-10 04:09:52 +000046
47# DO NOT DELETE THIS LINE -- make depend depends on it.