diff options
| 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 |
| commit | 55af7ae0f136863f0781630e22c66b75b1afe3bc (patch) | |
| tree | 46da5fc42b2f9b8004a7e1945a0d6b204e4e01fe /src/Makefile | |
| parent | d620fbb88ea8767e2ea586e3ff57fd9e20ddc7ec (diff) | |
Get random phrases working and remove off-by-1 error
Diffstat (limited to 'src/Makefile')
| -rw-r--r-- | src/Makefile | 3 |
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 @@ | |||
| 1 | CC = gcc | 1 | CC = gcc |
| 2 | CFLAGS = -Wall -Wextra -Wpedantic -fanalyzer -Wanalyzer-too-complex -Og -g3 -ggdb | 2 | CFLAGS = -Wall -Wextra -Wpedantic -fanalyzer -Wanalyzer-too-complex -Og -g3 -ggdb |
| 3 | 3 | ||
| 4 | SHELL := /usr/bin/env -S bash | ||
| 4 | BINARY_FILES := main encryption.o search.o ll.o | 5 | BINARY_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 | ||
| 16 | encryption.o: encryption.c encryption.h | 17 | encryption.o: encryption.c encryption.h |
| 17 | screen: screen.c screen.h | 18 | screen: 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 | ||
| 20 | search.o: search.c search.h | 21 | search.o: search.c search.h |
| 21 | ll.o: ll.c ll.h \ No newline at end of file | 22 | ll.o: ll.c ll.h \ No newline at end of file |
