about summary refs log tree commit diff
path: root/Makefile
blob: 935f25e6424218dfe326199c78a1b43dc11c8581 (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
CFLAGS += -std=c11 -Wall -Wextra -Wpedantic
LDLIBS = -ltls

OBJS += archive.o
OBJS += atom.o
OBJS += concat.o
OBJS += decode.o
OBJS += export.o
OBJS += html.o
OBJS += imap.o
OBJS += mbox.o
OBJS += parse.o
OBJS += template.o

dev: tags all

all: bubger

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

${OBJS}: archive.h imap.h

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

clean:
	rm -f bubger ${OBJS} tags