From fadf1a0eae0cb46a3426b4bace8b5a1b7101e262 Mon Sep 17 00:00:00 2001 From: Jonathan McDowell Date: Tue, 14 Sep 2004 21:13:21 +0000 Subject: [PATCH] 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. --- Makefile.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.39.2