mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-26 11:47:13 +09:00
Add a basic Makefile for the demos
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user