summaryrefslogtreecommitdiff
path: root/src/Makefile
diff options
context:
space:
mode:
author@syxhe <https://t.me/syxhe>2024-07-23 13:18:22 -0500
committer@syxhe <https://t.me/syxhe>2024-07-23 13:18:22 -0500
commit72839bcfca470f3840697e2215edff02d3e42ab1 (patch)
tree59afdaf0a83963b1b66ace047989041229d63a54 /src/Makefile
parent2737a3846e56490e5c533d37bff4e72bca15a1da (diff)
Toil endlessly on menus because they're shit
Diffstat (limited to 'src/Makefile')
-rw-r--r--src/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Makefile b/src/Makefile
index 55268aa..a828be2 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -2,7 +2,7 @@ CC = 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 4SHELL := /usr/bin/env -S bash
5BINARY_FILES := main encryption.o search.o ll.o 5BINARY_FILES := screen #main encryption.o search.o ll.o
6 6
7.PHONY: all clean 7.PHONY: all clean
8 8
@@ -14,9 +14,9 @@ clean:
14 14
15main: main.c search.o encryption.o ll.o 15main: main.c search.o encryption.o ll.o
16 16
17encryption.o: encryption.c encryption.h
18screen: screen.c screen.h 17screen: screen.c screen.h
19 set -e -o pipefail && $(CC) $(CFLAGS) $$(pkg-config --cflags libsodium) screen.c -o screen -lncurses -lmenu $$(pkg-config --libs libsodium) 18 set -e -o pipefail && $(CC) $(CFLAGS) $$(pkg-config --cflags libsodium) screen.c -o screen $$(pkg-config --libs libsodium) -lmenu $$(pkg-config --libs ncurses)
20 19
20encryption.o: encryption.c encryption.h
21search.o: search.c search.h 21search.o: search.c search.h
22ll.o: ll.c ll.h \ No newline at end of file 22ll.o: ll.c ll.h \ No newline at end of file