diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1,11 +1,15 @@ CC=gcc CFLAGS?=-O2 -Wall -Wextra -Werror +PFLAGS=-std=c99 -pedantic PREFIX?=/usr/local all: lpass +sanitize: lpass.c + $(CC) $(PFLAGS) -g -fsanitize=undefined -fsanitize=leak -fsanitize=address -fno-omit-frame-pointer -fanalyzer -lcrypto lpass.c + lpass: lpass.c - $(CC) -std=c99 -pedantic $(CFLAGS) -lcrypto -o lpass lpass.c + $(CC) $(PFLAGS) $(CFLAGS) -lcrypto -o lpass lpass.c clean: rm -rf lpass |