(distdir): Use $^ to refer to the files.
(distclean): New target.
Rev: src/nettle/examples/Makefile.in:1.2
include ../config.make
+INCLUDES = -I.. -I$(top_srcdir)
+
OPENSSL_LIBFLAGS = @OPENSSL_LIBFLAGS@
TARGETS = nettle-benchmark @RSA_EXAMPLES@
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)
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)