catboy/Makefile

20 lines
343 B
Makefile
Raw Normal View History

2020-02-01 06:18:01 +00:00
LIBRESSL_PREFIX = /usr/local
CFLAGS += -I${LIBRESSL_PREFIX}/include
LDFLAGS += -L${LIBRESSL_PREFIX}/lib
CFLAGS += -std=c11 -Wall -Wextra -Wpedantic
LDLIBS = -lcrypto -ltls
OBJS += chat.o
OBJS += handle.o
OBJS += irc.o
OBJS += term.o
2020-02-01 06:18:01 +00:00
catgirl: ${OBJS}
${CC} ${LDFLAGS} ${OBJS} ${LDLIBS} -o $@
${OBJS}: chat.h
clean:
rm -f catgirl ${OBJS}