Fix makefile

This commit is contained in:
Night Kaly 2024-11-27 00:47:49 +00:00
parent 902edc1595
commit ceb9819d1c
Signed by: night0721
SSH key fingerprint: SHA256:B/hgVwUoBpx5vdNsXl9w8XwZljA9766uk6T4ubZp5HM

View file

@ -11,6 +11,7 @@ BINDIR = $(PREFIX)/bin
MANDIR = $(PREFIX)/share/man/man1 MANDIR = $(PREFIX)/share/man/man1
LDFLAGS != pkg-config --libs libsodium libnotify ncurses sqlite3 LDFLAGS != pkg-config --libs libsodium libnotify ncurses sqlite3
LDFLAGS += -L$(PWD)
INCFLAGS != pkg-config --cflags libsodium libnotify ncurses sqlite3 INCFLAGS != pkg-config --cflags libsodium libnotify ncurses sqlite3
CFLAGS = -Os -mtune=native -march=native -pipe -s -std=c99 -Wno-pointer-sign -pedantic -Wall -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 $(INCFLAGS) -lpthread -lluft -L. CFLAGS = -Os -mtune=native -march=native -pipe -s -std=c99 -Wno-pointer-sign -pedantic -Wall -D_DEFAULT_SOURCE -D_XOPEN_SOURCE=600 $(INCFLAGS) -lpthread -lluft -L.