Skip to content

Instantly share code, notes, and snippets.

@ao-kenji
Created June 9, 2024 12:35
Show Gist options
  • Save ao-kenji/b81d8c921c0243f9a054c4b1b469b427 to your computer and use it in GitHub Desktop.
Save ao-kenji/b81d8c921c0243f9a054c4b1b469b427 to your computer and use it in GitHub Desktop.
diff --git a/Makefile b/Makefile
index 1f9f4e9..5ce482c 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,8 @@ OBJS = nanotodon.o sbuf.o squeue.o utils.o config.o messages.o
# Use $XDG_CONFIG_HOME or ~/.config dir to save config files
CFLAGS += -g -DSUPPORT_XDG_BASE_DIR -D_GNU_SOURCE -D_BSD_SOURCE -D_NETBSD_SOURCE
+CFLAGS += -I/usr/local/include -Wno-format-security
+LDFLAGS += -L/usr/local/lib
LDLIBS += -lcurl -lpthread -lm
# default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment