aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCody Logan <cody@lokken.dev>2023-11-27 15:53:04 -0800
committerCody Logan <cody@lokken.dev>2023-11-27 15:53:04 -0800
commit037c44d94262bee77f8eef4ab71d16b1c492da01 (patch)
treef9d6aacca1588e16ae4b50605852c03f4b4332e8 /Makefile
parentd0511d45d39c5de64e82a89510edc681b483df9b (diff)
downloadconvert-markdown-037c44d94262bee77f8eef4ab71d16b1c492da01.tar.gz
convert-markdown-037c44d94262bee77f8eef4ab71d16b1c492da01.zip
Add libbsd and libmd to Makefile for compiling on Linux
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 27dd859..00d5635 100644
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,8 @@ CC = cc
CFLAGS = -O2 -g -I/usr/local/include
LDFLAGS = -L/usr/local/lib
LIBS = -llowdown -lm -static -pie
+# uncomment on Linux
+#LIBS += -lbsd -lmd
convert-markdown: convert-markdown.c
$(CC) $^ -o $@ $(CFLAGS) $(LDFLAGS) $(LIBS)