projects
/
onak.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6aba9a
)
Change makedepend to use the compile instead.
author
Jonathan McDowell
<noodles@earth.li>
Tue, 14 Sep 2004 21:13:21 +0000
(21:13 +0000)
committer
Jonathan McDowell
<noodles@earth.li>
Tue, 14 Sep 2004 21:13:21 +0000
(21:13 +0000)
Change to using the compiler for makedepend instead. This works for GCC;
I don't know about other compilers. May need an autoconf test instead in
future.
Makefile.in
patch
|
blob
|
history
diff --git
a/Makefile.in
b/Makefile.in
index 01169b21f96419712a59021422cc35b14bbeb5fb..334ec2923b6bb7d740af3db26115f66089d30d3d 100644
(file)
--- a/
Makefile.in
+++ b/
Makefile.in
@@
-10,6
+10,8
@@
LDFLAGS += @LDFLAGS@
DBTYPE = @DBTYPE@
#
LIBS = @LIBS@
+#MAKEDEPEND = makedepend -f- --
+MAKEDEPEND = $(CC) -MM
prefix ?= @prefix@
exec_prefix ?= @exec_prefix@
@@
-78,7
+80,7
@@
distclean: clean
.depend: $(SRCS)
rm -f .depend
-
makedepend -f- -- $(CFLAGS) --
$(SRCS) > .depend
+
$(MAKEDEPEND) $(CFLAGS)
$(SRCS) > .depend
include .depend