about summary refs log tree commit diff
path: root/Makefile
blob: bcbb0d8170dfef13cc44bef5edd7571f80783582 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
CFLAGS += -std=c11 -Wall -Wextra -Wpedantic
LDLIBS = -lcrypto -ltls -lncursesw

-include config.mk

OBJS += chat.o
OBJS += command.o
OBJS += complete.o
OBJS += config.o
OBJS += edit.o
OBJS += handle.o
OBJS += irc.o
OBJS += ui.o
OBJS += url.o

dev: tags all

all: catgirl

catgirl: ${OBJS}
	${CC} ${LDFLAGS} ${OBJS} ${LDLIBS} -o $@

${OBJS}: chat.h

tags: *.h *.c
	ctags -w *.h *.c

clean:
	rm -f tags catgirl ${OBJS}
ef='/src/commit/install.sh?id=91c41bbb7e3e7fad6aa839ae0ad41e9382d24cbf&follow=1'>Rewrite Linux install.sh for DebianJune McEnroe 2022-03-15Remove dashJune McEnroe