aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-12-05 16:42:17 +0100
committerMattias Andrée <maandree@operamail.com>2015-12-05 16:42:17 +0100
commite5c01e102c790a918ecfda66cfce7cb5e5f8af0a (patch)
treed2ab239d8a3d664c793b3d35fd34e9f0030cede2 /Makefile
parentadd description of strength value (diff)
downloadlibpassphrase-e5c01e102c790a918ecfda66cfce7cb5e5f8af0a.tar.gz
libpassphrase-e5c01e102c790a918ecfda66cfce7cb5e5f8af0a.tar.bz2
libpassphrase-e5c01e102c790a918ecfda66cfce7cb5e5f8af0a.tar.xz
customisable meter
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 5e85083..8526dd7 100644
--- a/Makefile
+++ b/Makefile
@@ -75,6 +75,9 @@ WARN = -Wall -Wextra -Wdouble-promotion -Wformat=2 -Winit-self -Wmissing-include
STD = gnu99
# C preprocessor flags
CPPFLAGS_ = $(foreach D, $(OPTIONS), -D'$(D)=1') $(foreach D, $(QUOTED_OPTIONS), -D'$(D)="$($(D))"')
+ifdef PASSPHRASE_STRENGTH_LIMITS_HEADER
+CPPFLAGS_ += -D'PASSPHRASE_STRENGTH_LIMITS_HEADER=$(PASSPHRASE_STRENGTH_LIMITS_HEADER)'
+endif
# C compiling flags
CFLAGS_ = -std=$(STD) $(WARN)
# Linking flags