Add a basic Makefile for the demos
This commit is contained in:
parent
0417759d9c
commit
e3d71367fc
21
demos/Makefile
Normal file
21
demos/Makefile
Normal 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
|
Loading…
Reference in New Issue
Block a user