From: Jonathan McDowell Date: Tue, 14 Sep 2004 21:13:21 +0000 (+0000) Subject: Change makedepend to use the compile instead. X-Git-Tag: 0.3.1~25 X-Git-Url: http://the.earth.li/gitweb/?p=onak.git;a=commitdiff_plain;h=fadf1a0eae0cb46a3426b4bace8b5a1b7101e262 Change makedepend to use the compile instead. 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. --- diff --git a/Makefile.in b/Makefile.in index 01169b2..334ec29 100644 --- 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