Thu Jul 25 19:53:31 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>

* GNUmakefile (mkdep-nolib): Use -MM option unconditionally.
This commit is contained in:
Roland McGrath 1996-07-26 02:33:35 +00:00
parent b18ce15130
commit 1f0bf7b4db

View file

@ -133,12 +133,7 @@ endif
LDFLAGS = -g LDFLAGS = -g
# Define the command to make dependencies. # Define the command to make dependencies.
ifneq "$(findstring gcc,$(CC))" ""
# Don't include system directories.
mkdep-nolib = $(CC) -MM $(CPPFLAGS) mkdep-nolib = $(CC) -MM $(CPPFLAGS)
else
mkdep-nolib = $(mkdep)
endif
mkdep = $(CC) -M $(CPPFLAGS) mkdep = $(CC) -M $(CPPFLAGS)
depfiles = $(patsubst %.o,%.dep,$(filter %.o,$(objs))) depfiles = $(patsubst %.o,%.dep,$(filter %.o,$(objs)))