conn: with null certfile, do not verify the certificate
[smtp.git] / Makefile
blob0d613641c498903e93179800b09ae07ff68bde9d
1 # common options
2 CC = cc
4 # for openssl
5 OBJS = smtp.o conn_openssl.o
6 CFLAGS = -Wall -O2
7 LDFLAGS = -lssl
9 # for mbedtls (polarssl)
10 #OBJS = smtp.o conn_mbedtls.o
11 #CFLAGS = -Wall -O2
12 #LDFLAGS = -lpolarssl
14 all: smtp
15 %.o: %.c conf.h
16 $(CC) -c $(CFLAGS) $<
17 smtp: $(OBJS)
18 $(CC) -o $@ $(OBJS) $(LDFLAGS)
19 clean:
20 rm -f *.o smtp