Add simple configure script
Mostly motivated by wanting to build with the ncurses in pkgsrc because it supports italics.weechat-hashes
parent
273207b19f
commit
5470254fa5
|
@ -1,3 +1,4 @@
|
||||||
*.o
|
*.o
|
||||||
catgirl
|
catgirl
|
||||||
|
config.mk
|
||||||
tags
|
tags
|
||||||
|
|
8
Makefile
8
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
|
CFLAGS += -std=c11 -Wall -Wextra -Wpedantic
|
||||||
LDLIBS = -lcurses -lcrypto -ltls
|
LDLIBS = -lcrypto -ltls -lncursesw
|
||||||
|
|
||||||
|
-include config.mk
|
||||||
|
|
||||||
OBJS += chat.o
|
OBJS += chat.o
|
||||||
OBJS += command.o
|
OBJS += command.o
|
||||||
|
|
Loading…
Reference in New Issue