summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-02-06 23:49:27 -0500
committerJune McEnroe <june@causal.agency>2020-02-06 23:50:04 -0500
commit5470254fa5fd0f6108b1f075d9ac2dd24afa7fdc (patch)
treea2ad129d6d255e204b9c3f806c07549b5b839f8d /Makefile
parentFlush stdout after using putp (diff)
downloadcatgirl-5470254fa5fd0f6108b1f075d9ac2dd24afa7fdc.tar.gz
catgirl-5470254fa5fd0f6108b1f075d9ac2dd24afa7fdc.zip
Add simple configure script
Mostly motivated by wanting to build with the ncurses in pkgsrc because
it supports italics.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 213ecb5..5380d20 100644
--- a/Makefile
+++ b/Makefile
@@ -1,9 +1,7 @@
-LIBRESSL_PREFIX = /usr/local
-CFLAGS += -I${LIBRESSL_PREFIX}/include
-LDFLAGS += -L${LIBRESSL_PREFIX}/lib
-
 CFLAGS += -std=c11 -Wall -Wextra -Wpedantic
-LDLIBS = -lcurses -lcrypto -ltls
+LDLIBS = -lcrypto -ltls -lncursesw
+
+-include config.mk
 
 OBJS += chat.o
 OBJS += command.o