summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2012-03-30 21:32:47 +0200
committerNiels Möller <nisse@lysator.liu.se>2012-03-30 21:32:47 +0200
commit4403177a7d529dd73c8e5a10ad8df77b112d45cb (patch)
treefdbdac8d2b1f28fed114be6cba84cfc47e6b8c2a /examples
parent9020e1373ac4869ec7cbad53e2f2c3901ed10016 (diff)
downloadnettle-4403177a7d529dd73c8e5a10ad8df77b112d45cb.tar.gz
Don't include nettle-internal.h in the library.
Diffstat (limited to 'examples')
-rw-r--r--examples/Makefile.in9
1 files changed, 5 insertions, 4 deletions
diff --git a/examples/Makefile.in b/examples/Makefile.in
index c5d09586..4746a200 100644
--- a/examples/Makefile.in
+++ b/examples/Makefile.in
@@ -33,7 +33,7 @@ all: $(TARGETS)
.c.$(OBJEXT):
$(COMPILE) -c $< && $(DEP_PROCESS)
-$(getopt_OBJS):
+$(getopt_OBJS) ../nettle-internal.$(OBJEXT):
( cd .. && $(MAKE) $@ )
# For Solaris and BSD make, we have to use an explicit rule for each executable
@@ -69,9 +69,10 @@ rsa-decrypt$(EXEEXT): rsa-decrypt.$(OBJEXT) read_rsa_key.$(OBJEXT)
eratosthenes$(EXEEXT): eratosthenes.$(OBJEXT) $(GETOPT_OBJS)
$(LINK) eratosthenes.$(OBJEXT) $(GETOPT_OBJS) -o eratosthenes$(EXEEXT)
-nettle-benchmark$(EXEEXT): nettle-benchmark.$(OBJEXT) nettle-openssl.$(OBJEXT) $(GETOPT_OBJS)
- $(LINK) nettle-benchmark.$(OBJEXT) nettle-openssl.$(OBJEXT) io.$(OBJEXT) $(GETOPT_OBJS) \
- -lnettle $(BENCH_LIBS) $(OPENSSL_LIBFLAGS) -o nettle-benchmark$(EXEEXT)
+BENCH_OBJS = nettle-benchmark.$(OBJEXT) nettle-openssl.$(OBJEXT) \
+ $(GETOPT_OBJS) ../nettle-internal.$(OBJEXT)
+nettle-benchmark$(EXEEXT): $(BENCH_OBJS)
+ $(LINK) $(BENCH_OBJS) -lnettle $(BENCH_LIBS) $(OPENSSL_LIBFLAGS) -o nettle-benchmark$(EXEEXT)
$(TARGETS) : io.$(OBJEXT) ../libnettle.a