diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2011-01-03 01:41:05 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2011-01-03 01:41:05 +0100 |
commit | 7dce0fa9a542e4f2e1008dca1cd15dfe7c3d7e77 (patch) | |
tree | e7f455a6b22cb8458315909974d82c27ca125cb6 | |
parent | b22f4d03e6793bef6dfeef1c54d65618a6646265 (diff) | |
download | videoteco-fork-7dce0fa9a542e4f2e1008dca1cd15dfe7c3d7e77.tar.gz |
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
-rw-r--r-- | makefile.in | 6 |
1 files changed, 3 insertions, 3 deletions
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 |