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

* 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 0523e2a0
......@@ -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)
Markdown is supported
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