Update Makefile

This commit is contained in:
Night Kaly 2025-02-28 13:35:33 +00:00
parent b589296455
commit 80140fa867
Signed by: night0721
SSH key fingerprint: SHA256:B/hgVwUoBpx5vdNsXl9w8XwZljA9766uk6T4ubZp5HM

View file

@ -8,10 +8,7 @@ BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/share/man/man1
PKG_CONFIG = pkg-config
PKGS = libsodium
LIBS != $(PKG_CONFIG) --libs $(PKGS)
INCS != $(PKG_CONFIG) --cflags $(PKGS)
CFLAGS += -std=c99 -pedantic -Wall -D_DEFAULT_SOURCE $(INCS)
CFLAGS += -std=c99 -pedantic -Wall -D_DEFAULT_SOURCE
.c.o:
$(CC) -o $@ $(CFLAGS) -c $<