summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authorC. McEnroe2020-02-01 01:18:01 -0500
committerC. McEnroe2020-02-01 01:18:01 -0500
commit843160236381d0c76bef1eac89e556920d700a9d (patch)
tree469dc9d9e9c6b6928984f3fad8a545ef27385184 /Makefile
parentf76145645e6e183c53c5601294c985246c00fa92 (diff)
Blindly implement login flow
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..30bcf66
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,18 @@
+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
+
+catgirl: ${OBJS}
+	${CC} ${LDFLAGS} ${OBJS} ${LDLIBS} -o $@
+
+${OBJS}: chat.h
+
+clean:
+	rm -f catgirl ${OBJS}