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