summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
author@syxhe <https://t.me/syxhe>2024-07-22 00:08:01 -0500
committer@syxhe <https://t.me/syxhe>2024-07-22 00:08:01 -0500
commit55af7ae0f136863f0781630e22c66b75b1afe3bc (patch)
tree46da5fc42b2f9b8004a7e1945a0d6b204e4e01fe /src/Makefile
parentd620fbb88ea8767e2ea586e3ff57fd9e20ddc7ec (diff)
Get random phrases working and remove off-by-1 error
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