aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-02-22 17:02:18 +0100
committerMattias Andrée <maandree@kth.se>2021-02-22 17:02:18 +0100
commit59efa2085fc8d45041dce389eb1cd5c2eb9b5472 (patch)
treedc72c7a3ec15160824ffa32c27b6db1db9bcc61b /config.mk
parentremove dist (diff)
downloadkrandom-59efa2085fc8d45041dce389eb1cd5c2eb9b5472.tar.gz
krandom-59efa2085fc8d45041dce389eb1cd5c2eb9b5472.tar.bz2
krandom-59efa2085fc8d45041dce389eb1cd5c2eb9b5472.tar.xz
change license + misc
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r--config.mk10
1 files changed, 10 insertions, 0 deletions
diff --git a/config.mk b/config.mk
new file mode 100644
index 0000000..5059663
--- /dev/null
+++ b/config.mk
@@ -0,0 +1,10 @@
+PREFIX = /usr
+MANPREFIX = $(PREFIX)/share/man
+
+CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700
+CFLAGS = -std=c99 -Wall -O3
+LDFLAGS = -s -lkeccak
+
+# krandom is seeded by /dev/urandom (Linux's non-blocking random number generator),
+# this can be changed by addeding -DURANDOM=??? to CPPFLAGS, where ??? is the file
+# to use instead of /dev/urandom.