conn: move tls handshake to conn_tls()
[pop3.git] / Makefile
blob4464deb26100d9add0ae5cdb0bf79cae9716962e
1 # common options
2 CC = cc
4 # for openssl
5 OBJS = pop3.o uidl.o conn_openssl.o
6 CFLAGS = -Wall -O2
7 LDFLAGS = -lssl
9 # for mbedtls (polarssl)
10 #OBJS = pop3.o uidl.o conn_mbedtls.o
11 #CFLAGS = -Wall -O2
12 #LDFLAGS = -lpolarssl
14 all: pop3
15 %.o: %.c conf.h
16 $(CC) -c $(CFLAGS) $<
17 pop3: $(OBJS)
18 $(CC) -o $@ $(OBJS) $(LDFLAGS)
19 clean:
20 rm -f *.o pop3