From 7dce0fa9a542e4f2e1008dca1cd15dfe7c3d7e77 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 3 Jan 2011 01:41:05 +0100 Subject: use CPPFLAGS and LDFLAGS, necessary (at least) for cross compiling * this is not optimal. but I plan to rewrite/clean up the buildsystem with autoconf and automake, so makefile.in will be replaced anyway --- makefile.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'makefile.in') diff --git a/makefile.in b/makefile.in index 23d0b86..8dcd2c8 100644 --- a/makefile.in +++ b/makefile.in @@ -1,8 +1,8 @@ # @configure_input@ CC = @CC@ -CFLAGS = @CFLAGS@ -CPPFLAGS = @CPPFLAGS@ +CFLAGS = @CFLAGS@ @CPPFLAGS@ +LDFLAGS = @LDFLAGS@ LIBS = @LIBS@ ifeq (@GCC@,yes) @@ -17,7 +17,7 @@ HEADERS = teco.h tecparse.h LIBFLAGS = -ltermcap teco: $(OBJS) - $(CC) -o teco $(OBJS) $(LIBS) + $(CC) $(LDFLAGS) -o teco $(OBJS) $(LIBS) tecbuf.o: tecbuf.c $(HEADERS) $(CC) $(CFLAGS) -c tecbuf.c -- cgit v1.2.3