From c1f248d670949f62cf5566adcafb42cb5243c36b Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 29 Oct 1995 12:14:37 +0000 Subject: (INCLUDE, COMPILE): New variables. (.c.o): Rewrite to be more like src/Makefile.in. Add line that (--with-autodeps) will include mkdep-Makefile. --- lib/Makefile.in | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/Makefile.in b/lib/Makefile.in index 83808f5cb..9c676694b 100644 --- a/lib/Makefile.in +++ b/lib/Makefile.in @@ -58,8 +58,10 @@ all: libfu.a .SUFFIXES: .SUFFIXES: .c .o +COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CPPFLAGS) $(CFLAGS) +INCLUDES = -I.. -I$(srcdir) .c.o: - $(CC) -c $(CPPFLAGS) $(DEFS) -I.. -I$(srcdir) $(CFLAGS) $< + $(COMPILE) $< subdir = lib Makefile: ../config.status Makefile.in @@ -140,3 +142,8 @@ installdirs maintainer-clean mostlyclean uninstall # Tell versions [3.59,3.63) of GNU make not to export all variables. # Otherwise a system limit (for SysV at least) may be exceeded. .NOEXPORT: + +# The following include directive is uncommented automatically +# when this package is configured with the --with-autodep option. +# You need GNU make and a C compiler that can generate dependencies. +@AUTODEP_COMMENT@include @top_srcdir@/mkdep-Makefile -- cgit v1.2.3-70-g09d2