repo.or.cz
/
easyotp.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fix off-by-one error in null termination of decrypted messages.
[easyotp.git]
/
Makefile
blob
5bd4ad5a1337e1fce91f93ecb5b2e0a6a81b4b1d
1
CC
=
gcc
2
CFLAGS
=-
g
-
Wall
-
pedantic
3
LD
=$(
CC
)
4
LDFLAGS
=
5
RM
=
rm
6
7
EXE
=
try
8
SRCS
=
libotp.c try.c base64.c
9
OBJS
=${
SRCS
:
.c
=
.o
}
10
HEADERS
=
libotp.h base64.h
11
12
.c.o
:
13
$(
CC
) $(
CFLAGS
) -
c
$<
14
15
all
: $(
EXE
)
16
17
$(
EXE
) : $(
OBJS
)
18
$(
LD
) -
o
$
@
$(
OBJS
)
19
20
$(
OBJS
) : $(
HEADERS
)
21
22
clean
:
23
-$(
RM
) -
f
$(
EXE
) $(
OBJS
)