summaryrefslogtreecommitdiff
path: root/Makefile.in
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2020-01-15 20:16:48 +0100
committerNiels Möller <nisse@lysator.liu.se>2020-01-15 20:16:48 +0100
commit574272317865c07614706356e7062ca0b30e21c6 (patch)
tree15b968c7847ddf267d501cfe97dbd87c44d51968 /Makefile.in
parent0d1b423df26319088f2512b6314f6774132ccb82 (diff)
downloadnettle-574272317865c07614706356e7062ca0b30e21c6.tar.gz
Simplify dependency rules using GNU make -include.
* aclocal.m4 (DEP_INCLUDE): Delete substituted variable. * Makefile.in: Use the GNU make directive -include to include dependency .d files. Delete dependency files on make clean. * examples/Makefile.in: Likewise. * testsuite/Makefile.in: Likewise. Also use $(OBJEXT) properly. * tools/Makefile.in: Likewise. * configure.ac (dummy-dep-files): Delete these config commands.
Diffstat (limited to 'Makefile.in')
-rw-r--r--Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.in b/Makefile.in
index 38160bb4..21d1c77d 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -658,7 +658,7 @@ distcheck: dist
$(rm_distcheck)
clean-here:
- -rm -f $(TARGETS) *.$(OBJEXT) *.s *.so *.dll *.a \
+ -rm -f $(TARGETS) *.$(OBJEXT) *.$(OBJEXT).d *.s *.so *.dll *.a \
ecc-curve25519.h ecc-curve448.h \
ecc-secp192r1.h ecc-secp224r1.h ecc-secp256r1.h \
ecc-secp384r1.h ecc-secp521r1.h \
@@ -683,4 +683,4 @@ tags-here:
etags -o $(srcdir)/TAGS $(srcdir)/*.c $(srcdir)/*.h
DEP_FILES = $(SOURCES:.c=.$(OBJEXT).d)
-@DEP_INCLUDE@ $(DEP_FILES)
+-include $(DEP_FILES)