From 498baf76a7971abf7bb2435e90ff523dcdb4ed58 Mon Sep 17 00:00:00 2001 From: Joey Schulze Date: Thu, 22 Nov 2001 08:25:10 +0000 Subject: [PATCH] Added convenience code to support $DEB_BUILD_OPTIONS --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 62d0b7e..635f6be 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -# Copyright (c) 1998,9 by Martin Schulze +# Copyright (c) 1998,9,2001 by Martin Schulze # 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 @@ -14,7 +14,8 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. -CFLAGS = -I. -Wall -O2 -g +CFLAGS = -Wall -O2 -g +IFLAGS = -I. LDFLAGS = -L. LIBS = -lcgi @@ -24,10 +25,10 @@ libcgi.a: $(OBJS) ar rc $@ $^ cgitest: cgitest.o libcgi.a - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) + $(CC) $(CFLAGS) $(IFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) jumpto: jumpto.o libcgi.a - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) + $(CC) $(CFLAGS) $(IFLAGS) $(LDFLAGS) -o $@ $^ $(LIBS) all: libcgi.a cgitest jumpto -- 2.20.1