diff --git a/examples/Makefile.in b/examples/Makefile.in index b51d8d9c9138ae4ad358c36c94ed0b21479cb7d0..c2f6c96caa28baeea30bc8a7a8be29efac7f9c8d 100644 --- a/examples/Makefile.in +++ b/examples/Makefile.in @@ -7,6 +7,8 @@ top_srcdir = @top_srcdir@ include ../config.make +INCLUDES = -I.. -I$(top_srcdir) + OPENSSL_LIBFLAGS = @OPENSSL_LIBFLAGS@ TARGETS = nettle-benchmark @RSA_EXAMPLES@ SOURCES = nettle-benchmark.c nettle-openssl.c \ @@ -16,7 +18,7 @@ SOURCES = nettle-benchmark.c nettle-openssl.c \ TS_ALL = rsa-sign-test rsa-verify-test rsa-encrypt-test DISTFILES= $(SOURCES) Makefile.in $(TS_ALL) run-tests setup-env teardown-env \ - io.h rsa-session.h + io.h rsa-session.h all: $(TARGETS) @@ -64,9 +66,12 @@ install: true distdir: $(DISTFILES) - cp $(DISTFILES) $(distdir) + cp $^ $(distdir) clean: - rm -f $(TARGETS) *.o *.d + -rm -f $(TARGETS) *.o *.d + +distclean: clean + -rm -f Makefile -include $(SOURCES:.c=.$(OBJEXT).d)