changeset 20195:5f49d12f7366

(INCLUDE, COMPILE): New variables. (.c.o): Rewrite to be more like src/Makefile.in. Add line that (--with-autodeps) will include mkdep-Makefile.
author Jim Meyering <jim@meyering.net>
date Sun, 29 Oct 1995 12:14:37 +0000
parents ddd916f44a4c
children 147507a5c951
files lib/Makefile.in
diffstat 1 files changed, 8 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lib/Makefile.in	Sun Oct 22 17:47:13 1995 +0000
+++ b/lib/Makefile.in	Sun Oct 29 12:14:37 1995 +0000
@@ -58,8 +58,10 @@
 .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 @@
 # 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