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

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

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

Rev: src/nettle/examples/
parent 0523e2a0
......@@ -7,6 +7,8 @@ top_srcdir = @top_srcdir@
include ../config.make
INCLUDES = -I.. -I$(top_srcdir)
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) $(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:
distdir: $(DISTFILES)
cp $(DISTFILES) $(distdir)
cp $^ $(distdir)
rm -f $(TARGETS) *.o *.d
-rm -f $(TARGETS) *.o *.d
distclean: clean
-rm -f Makefile
-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