From f8e94a1179633799579a09dce1841f41e3b73f05 Mon Sep 17 00:00:00 2001 From: "@syxhe" Date: Mon, 6 Jan 2025 18:34:13 -0600 Subject: Start work on encryption --- src/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/Makefile') diff --git a/src/Makefile b/src/Makefile index d3798bb..a97848d 100644 --- a/src/Makefile +++ b/src/Makefile @@ -3,15 +3,15 @@ SHELL = /usr/bin/bash DEBUG_CFLAGS := -fanalyzer -Wanalyzer-too-complex -ggdb -g3 -Og RELEASE_CFLAGS := -O3 -fipa-pta -fipa-cp -fuse-linker-plugin -flto=auto -CFLAGS = -Wall -Wextra -Wpedantic -pedantic-errors $(DEBUG_CFLAGS) +CFLAGS = -Wall -Wextra -Wpedantic -pedantic-errors $(DEBUG_CFLAGS) $$(pkg-config --cflags libsodium) DEBUG_LDLIBS := RELEASE_LDLIBS := -LDLIBS += $(DEBUG_LDLIBS) +LDLIBS += $(DEBUG_LDLIBS) $$(pkg-config --libs-only-l libsodium) DEBUG_LDFLAGS := RELEASE_LDFLAGS := -fuse-linker-plugin -flto=auto -LDFLAGS += $(DEBUG_LDFLAGS) +LDFLAGS += $(DEBUG_LDFLAGS) $$(pkg-config --libs-only-L libsodium) BINARIES := main @@ -25,5 +25,7 @@ main: main.o shared.o main.o: main.c shared.h shared.o: shared.c shared.h +encryption: encryption.c encryption.h shared.o shared.h + c clean: # huh, didn't think that would work rm -rvf $(BINARIES) $(wildcard *.o) \ No newline at end of file -- cgit v1.2.3