From e3d71367fcc9e53edcdb7da3b3972a5b0c3efdf1 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Wed, 27 May 2015 21:35:37 +0200 Subject: [PATCH] Add a basic Makefile for the demos --- demos/Makefile | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 demos/Makefile diff --git a/demos/Makefile b/demos/Makefile new file mode 100644 index 00000000..5519a7c6 --- /dev/null +++ b/demos/Makefile @@ -0,0 +1,21 @@ + +TARGETS = \ + auth \ + box \ + box_detached \ + generichash \ + generichash_stream \ + shorthash \ + sign + +SODIUM_CFLAGS != pkg-config --cflags libsodium +SODIUM_LIBS != pkg-config --libs libsodium +CFLAGS += $(SODIUM_CFLAGS) +LDFLAGS += $(SODIUM_LIBS) + +all: $(TARGETS) + +clean: + rm -f $(TARGETS) + +distclean: clean