aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2000-08-22 15:25:25 +0000
committerChristopher Faylor <me@cgf.cx>2000-08-22 15:25:25 +0000
commit6d75cb08b37c02383fa26f17f0bfe8560e5e91f9 (patch)
tree8c7aec9969650f15619b7d8f1592f309616e17c8
parentd6483e830fc9b3636a1ac2c4638d770ca01e43cc (diff)
downloadnewlib-6d75cb08b37c02383fa26f17f0bfe8560e5e91f9.zip
newlib-6d75cb08b37c02383fa26f17f0bfe8560e5e91f9.tar.gz
newlib-6d75cb08b37c02383fa26f17f0bfe8560e5e91f9.tar.bz2
* Makefile.in: Don't include '.d' file if there are none generated yet.
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/Makefile.in8
2 files changed, 9 insertions, 3 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index de17ae7..6e94d8b 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+Tue Aug 22 11:23:59 2000 Christopher Faylor <cgf@cygnus.com>
+
+ * Makefile.in: Don't include '.d' file if there are none generated yet.
+
Tue Aug 22 11:08:11 2000 Christopher Faylor <cgf@cygnus.com>
* include/sys/cygwin.h: Declare some thread classes.
diff --git a/winsup/cygwin/Makefile.in b/winsup/cygwin/Makefile.in
index 8a6575b..3bbe424 100644
--- a/winsup/cygwin/Makefile.in
+++ b/winsup/cygwin/Makefile.in
@@ -47,10 +47,10 @@ INSTALL_PROGRAM:=@INSTALL_PROGRAM@
MT_SAFE = @MT_SAFE@
DEFS = @DEFS@
-CC:=@CC@ -MD
+CC:=@CC@
# FIXME: Which is it, CC or CC_FOR_TARGET?
CC_FOR_TARGET:=$(CC)
-CFLAGS:=@CFLAGS@
+CFLAGS:=@CFLAGS@ -MD
CXXFLAGS:=@CXXFLAGS@
# For linking mount, etc. crt0.o isn't accessable in a fresh build.
@@ -136,7 +136,7 @@ LD_STUFF=--dll $(DLL_OFILES) version.o winver.o $(DLL_IMPORTS) $(LIBM) $(LIBC) \
.PHONY: all force dll_ofiles install all_target install_target all_host install_host
.SUFFIXES:
-.SUFFIXES: .c .cc .def .a .o
+.SUFFIXES: .c .cc .def .a .o .d
all_host=@all_host@
install_host=@install_host@
@@ -283,4 +283,6 @@ WINSUP_H:=winsup.h fhandler.h path.h shared.h \
winsup.h: config.h
+ifneq (,${wildcard *.d})
include *.d
+endif