]> git.ipfire.org Git - thirdparty/nettle.git/commitdiff
* examples/Makefile.in (INCLUDES): Added -I flags.
authorNiels Möller <nisse@lysator.liu.se>
Tue, 19 Oct 2004 22:44:43 +0000 (00:44 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Tue, 19 Oct 2004 22:44:43 +0000 (00:44 +0200)
(distdir): Use $^ to refer to the files.
(distclean): New target.

Rev: src/nettle/examples/Makefile.in:1.2

examples/Makefile.in

index b51d8d9c9138ae4ad358c36c94ed0b21479cb7d0..c2f6c96caa28baeea30bc8a7a8be29efac7f9c8d 100644 (file)
@@ -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)