Commit 0f559e13 authored by Niels Möller's avatar Niels Möller
Browse files

* examples/Makefile.in (INCLUDES): Added -I flags.

(distdir): Use $^ to refer to the files.
(distclean): New target.

Rev: src/nettle/examples/Makefile.in:1.2
parent cb91dbb7
...@@ -7,6 +7,8 @@ top_srcdir = @top_srcdir@ ...@@ -7,6 +7,8 @@ top_srcdir = @top_srcdir@
include ../config.make include ../config.make
INCLUDES = -I.. -I$(top_srcdir)
OPENSSL_LIBFLAGS = @OPENSSL_LIBFLAGS@ OPENSSL_LIBFLAGS = @OPENSSL_LIBFLAGS@
TARGETS = nettle-benchmark @RSA_EXAMPLES@ TARGETS = nettle-benchmark @RSA_EXAMPLES@
SOURCES = nettle-benchmark.c nettle-openssl.c \ SOURCES = nettle-benchmark.c nettle-openssl.c \
...@@ -16,7 +18,7 @@ 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 TS_ALL = rsa-sign-test rsa-verify-test rsa-encrypt-test
DISTFILES= $(SOURCES) Makefile.in $(TS_ALL) run-tests setup-env teardown-env \ DISTFILES= $(SOURCES) Makefile.in $(TS_ALL) run-tests setup-env teardown-env \
io.h rsa-session.h io.h rsa-session.h
all: $(TARGETS) all: $(TARGETS)
...@@ -64,9 +66,12 @@ install: ...@@ -64,9 +66,12 @@ install:
true true
distdir: $(DISTFILES) distdir: $(DISTFILES)
cp $(DISTFILES) $(distdir) cp $^ $(distdir)
clean: clean:
rm -f $(TARGETS) *.o *.d -rm -f $(TARGETS) *.o *.d
distclean: clean
-rm -f Makefile
-include $(SOURCES:.c=.$(OBJEXT).d) -include $(SOURCES:.c=.$(OBJEXT).d)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment