diff options
author | Jim Meyering <jim@meyering.net> | 1995-10-29 12:14:37 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-10-29 12:14:37 +0000 |
commit | c1f248d670949f62cf5566adcafb42cb5243c36b (patch) | |
tree | b024d745f5d8f6494b0f54c594f7e04001bf4106 /lib | |
parent | 9b1d63b4a351e8eabd01622791971e8ce4221be6 (diff) | |
download | coreutils-c1f248d670949f62cf5566adcafb42cb5243c36b.tar.xz |
(INCLUDE, COMPILE): New variables.
(.c.o): Rewrite to be more like src/Makefile.in.
Add line that (--with-autodeps) will include mkdep-Makefile.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Makefile.in | 9 |
1 files changed, 8 insertions, 1 deletions
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 |