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 /testsuite | |
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 'testsuite')
-rw-r--r-- | testsuite/Makefile.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/Makefile.in b/testsuite/Makefile.in index 97128040..adde619d 100644 --- a/testsuite/Makefile.in +++ b/testsuite/Makefile.in @@ -156,7 +156,7 @@ distdir: $(DISTFILES) clean: -rm -f $(TARGETS) $(EXTRA_TARGETS) dlopen-test$(EXEEXT) \ - *.o test.in test1.out test2.out + *.$(OBJEXT) *.$(OBJEXT).d test.in test1.out test2.out distclean: clean -rm -f Makefile *.d @@ -167,4 +167,4 @@ tags: # Includes dependency files for everything, including objects which # the current configuration will not build. DEP_FILES = $(SOURCES:.c=.$(OBJEXT).d) $(CXX_SOURCES:.cxx=.$(OBJEXT).d) -@DEP_INCLUDE@ $(DEP_FILES) +-include $(DEP_FILES) |