From 657e6eb46b9ea16ff2db45bf6e76bf4b4d406b4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= <nisse@lysator.liu.se> Date: Wed, 20 Oct 2004 00:45:33 +0200 Subject: [PATCH] * examples/Makefile.in (INCLUDES): Added -I flags. (distdir): Use $^ to refer to the files. (distclean): New target. * testsuite/Makefile.in: Likewise. * tools/Makefile.in: Likewise. Rev: src/nettle/tools/Makefile.in:1.2 --- tools/Makefile.in | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/tools/Makefile.in b/tools/Makefile.in index b5a17d90..a5050b4e 100644 --- a/tools/Makefile.in +++ b/tools/Makefile.in @@ -7,6 +7,8 @@ top_srcdir = @top_srcdir@ include ../config.make +INCLUDES = -I.. -I$(top_srcdir) + TARGETS = sexp-conv nettle-lfib-stream all: $(TARGETS) @@ -16,7 +18,7 @@ sexp_conv_SOURCES = sexp-conv.c input.c output.c parse.c \ SOURCES = $(sexp_conv_SOURCES) nettle-lfib-stream.c -DISTFILES = $(SOURCES) Makefile.in +DISTFILES = $(SOURCES) Makefile.in getopt.h input.h misc.h output.h parse.h sexp-conv: $(sexp_conv_SOURCES:.c=.$(OBJEXT)) ../libnettle.a $(LINK) $^ $(LIBS) -L.. -lnettle -o $@ @@ -61,9 +63,12 @@ install: $(TARGETS) $(INSTALL_PROGRAM) $(TARGETS) $(bindir) 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) -- GitLab