Add a basic Makefile for the demos

This commit is contained in:
Frank Denis 2015-05-27 21:35:37 +02:00
parent 0417759d9c
commit e3d71367fc

21
demos/Makefile Normal file
View File

@ -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