diff options
author | Niels Möller <nisse@lysator.liu.se> | 2020-01-15 20:16:48 +0100 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2020-01-15 20:16:48 +0100 |
commit | 574272317865c07614706356e7062ca0b30e21c6 (patch) | |
tree | 15b968c7847ddf267d501cfe97dbd87c44d51968 /Makefile.in | |
parent | 0d1b423df26319088f2512b6314f6774132ccb82 (diff) | |
download | nettle-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.in | 4 |
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) |