aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2013-11-22 10:37:49 +0100
committerMattias Andrée <maandree@operamail.com>2013-11-22 10:37:49 +0100
commiteb4d860255ea9e0aa9c2a758ba074ac224c029e5 (patch)
tree6509f345347b3c3ba89c61ac27816d57855e573c /Makefile
parentadd install and uninstall to makefile (diff)
downloadlibpassphrase-eb4d860255ea9e0aa9c2a758ba074ac224c029e5.tar.gz
libpassphrase-eb4d860255ea9e0aa9c2a758ba074ac224c029e5.tar.bz2
libpassphrase-eb4d860255ea9e0aa9c2a758ba074ac224c029e5.tar.xz
optionally do not hide the input
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7618511..5dc054f 100644
--- a/Makefile
+++ b/Makefile
@@ -2,8 +2,11 @@ PREFIX = /usr
LIB = /lib
INCLUDE = /include
+OPTIONS =
+# PASSPHRASE_ECHO: Do not hide the passphrase
+
OPTIMISE = -Os
-CPPFLAGS =
+CPPFLAGS = $(foreach D, $(OPTIONS), -D'$(D)=1')
CFLAGS = -std=c90 -Wall -Wextra -fPIC
LDFLAGS = -shared