From e12a61b4888231938b172dd7a559724fddcb939d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se>
Date: Mon, 26 Aug 2002 22:23:45 +0200
Subject: [PATCH] (%.o: %.asm): Create an empty (and unused) dependency file,
 to make the make/automake dependency tracking happier.

Rev: src/nettle/Makefile.am:1.38
---
 Makefile.am | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/Makefile.am b/Makefile.am
index 0e40abf8..608dda7f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -61,11 +61,14 @@ SUFFIXES = .asm
 RM_TMP = rm -f
 
 # FIXME: How to write this without using GNU make features?
+# NOTE: We create an empty .deps-file, to make the make/automake
+# dependency tracking happier.
 %.o: %.asm asm.m4 machine.m4 config.m4 
 	$(M4) $(srcdir)/asm.m4 machine.m4 config.m4 \
 		`test -f $< || echo '$(srcdir)/'`$< >tmp-$*.s
 	$(COMPILE) -c tmp-$*.s -o $@
 	$(RM_TMP) tmp-$*.s
+	echo >.deps/$*.Po
 
 %.html : %.texinfo
 	(cd $(srcdir) \
-- 
GitLab