]> 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:45:05 +0000 (00:45 +0200)
committerNiels Möller <nisse@lysator.liu.se>
Tue, 19 Oct 2004 22:45:05 +0000 (00:45 +0200)
(distdir): Use $^ to refer to the files.
(distclean): New target.
* testsuite/Makefile.in: Likewise.

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

testsuite/Makefile.in

index 5b408de9f8710d74889af7badf94ab0e2fe3ff51..df774f52a5e8ef9e8f5e135ae47580579ed6b4ed 100644 (file)
@@ -7,6 +7,8 @@ top_srcdir = @top_srcdir@
 
 include ../config.make
 
+INCLUDES = -I.. -I$(top_srcdir)
+
 TS_SOURCES = aes-test.c arcfour-test.c arctwo-test.c \
             blowfish-test.c cast128-test.c \
              base16-test.c base64-test.c \
@@ -77,9 +79,12 @@ install:
        true
 
 distdir: $(DISTFILES)
-       cp $(DISTFILES) $(distdir)
+       cp $^ $(distdir)
 
 clean:
-       rm -f $(TARGETS) *.o *.d
+       -rm -f $(TARGETS) *.o *.d test.in test1.out test2.out
+
+distclean: clean
+       -rm -f Makefile
 
 -include $(SOURCES:.c=.$(OBJEXT).d)