summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Makefile b/src/Makefile
index 94d2674..55268aa 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -1,6 +1,7 @@
1CC = gcc 1CC = gcc
2CFLAGS = -Wall -Wextra -Wpedantic -fanalyzer -Wanalyzer-too-complex -Og -g3 -ggdb 2CFLAGS = -Wall -Wextra -Wpedantic -fanalyzer -Wanalyzer-too-complex -Og -g3 -ggdb
3 3
4SHELL := /usr/bin/env -S bash
4BINARY_FILES := main encryption.o search.o ll.o 5BINARY_FILES := main encryption.o search.o ll.o
5 6
6.PHONY: all clean 7.PHONY: all clean
@@ -15,7 +16,7 @@ main: main.c search.o encryption.o ll.o
15 16
16encryption.o: encryption.c encryption.h 17encryption.o: encryption.c encryption.h
17screen: screen.c screen.h 18screen: screen.c screen.h
18 $(CC) $(CFLAGS) screen.c -o screen -lncurses -lmenu 19 set -e -o pipefail && $(CC) $(CFLAGS) $$(pkg-config --cflags libsodium) screen.c -o screen -lncurses -lmenu $$(pkg-config --libs libsodium)
19 20
20search.o: search.c search.h 21search.o: search.c search.h
21ll.o: ll.c ll.h \ No newline at end of file 22ll.o: ll.c ll.h \ No newline at end of file