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

* 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
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) 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)
Markdown is supported
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