repo.or.cz
/
smtp.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
sm*: clean up sml, smq, and smr
[smtp.git]
/
Makefile
blob
f0c2328843a09e0dd6a9c87aaabbb6a830e3583c
1
# common options
2
CC
=
cc
3
4
# for openssl
5
OBJS
=
smtp.o conn_openssl.o
6
CFLAGS
= -
Wall
-
O2
7
LDFLAGS
= -
lssl
8
9
# for mbedtls (polarssl)
10
#OBJS = smtp.o conn_mbedtls.o
11
#CFLAGS = -Wall -O2
12
#LDFLAGS = -lmbedx509 -lmbedtls -lmbedcrypto
13
14
all
:
smtp
15
%
.o
: %
.c conf.h
16
$(
CC
) -
c
$(
CFLAGS
) $<
17
smtp
: $(
OBJS
)
18
$(
CC
) -
o
$
@
$(
OBJS
) $(
LDFLAGS
)
19
chmod
100
$
@
20
clean
:
21
rm
-
f
*
.o smtp