Commit 657e6eb4 authored by Niels Möller's avatar Niels Möller
Browse files

* examples/ (INCLUDES): Added -I flags.

(distdir): Use $^ to refer to the files.
(distclean): New target.
* testsuite/ Likewise.
* tools/ Likewise.

Rev: src/nettle/tools/
parent f577c201
......@@ -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) 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)
distdir: $(DISTFILES)
cp $(DISTFILES) $(distdir)
cp $^ $(distdir)
rm -f $(TARGETS) *.o *.d
-rm -f $(TARGETS) *.o *.d
distclean: clean
-rm -f Makefile
-include $(SOURCES:.c=.$(OBJEXT).d)
Supports Markdown
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