From 55af7ae0f136863f0781630e22c66b75b1afe3bc Mon Sep 17 00:00:00 2001 From: "@syxhe" Date: Mon, 22 Jul 2024 00:08:01 -0500 Subject: Get random phrases working and remove off-by-1 error --- src/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index 94d2674..55268aa 100644 --- a/src/Makefile +++ b/src/Makefile @@ -1,6 +1,7 @@ CC = gcc CFLAGS = -Wall -Wextra -Wpedantic -fanalyzer -Wanalyzer-too-complex -Og -g3 -ggdb +SHELL := /usr/bin/env -S bash BINARY_FILES := main encryption.o search.o ll.o .PHONY: all clean @@ -15,7 +16,7 @@ main: main.c search.o encryption.o ll.o encryption.o: encryption.c encryption.h screen: screen.c screen.h - $(CC) $(CFLAGS) screen.c -o screen -lncurses -lmenu + set -e -o pipefail && $(CC) $(CFLAGS) $$(pkg-config --cflags libsodium) screen.c -o screen -lncurses -lmenu $$(pkg-config --libs libsodium) search.o: search.c search.h ll.o: ll.c ll.h \ No newline at end of file -- cgit v1.2.3