summary refs log blame commit diff
path: root/Makefile
blob: b1db8d4e11fbc10104698582764eb2eac9bf15bc (plain) (tree)
1
2
3
4
5
6
7
8
9

                                           
                  
                 
              
                
                
                
              
              
              
               
                  
 


             

                                                
                         
 

                        
      
                                 
CFLAGS += -std=c11 -Wall -Wextra -Wpedantic
LDLIBS = -ltls

-include config.mk

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