Skip to content

Instantly share code, notes, and snippets.

@ao-kenji
Last active October 13, 2020 11:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ao-kenji/d38e128f50f1356afcf5747021d5f878 to your computer and use it in GitHub Desktop.
Save ao-kenji/d38e128f50f1356afcf5747021d5f878 to your computer and use it in GitHub Desktop.
--- /dev/null Tue Oct 13 20:50:15 2020
+++ Makefile.bsd-wrapper Tue Oct 13 20:47:17 2020
@@ -0,0 +1,13 @@
+#
+# nanotodon for OpenBSD: Makefile
+#
+
+PROG = nanotodon
+SRCS = config.c messages.c nanotodon.c
+CFLAGS += -std=gnu99 -I/usr/local/include -DSUPPORT_XDG_BASE_DIR \
+ -D_XOPEN_SOURCE_EXTENDED -Wno-format-security
+LDFLAGS += -L/usr/local/lib -lcurses -lpthread -lcurl -ljson-c
+BINDIR = /usr/local/bin
+NOMAN = 1
+
+.include <bsd.prog.mk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment