-# Copyright (c) 1998,9 by Martin Schulze <joey@infodrom.north.de>
+# Copyright (c) 1998,9,2001 by Martin Schulze <joey@infodrom.org>
# 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
# 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
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