repo.or.cz
/
sfm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[fix] buffer overflow at realpath()
[sfm.git]
/
config.mk
blob
8b632c62e760a8761da6a152a36cf5694a0583a8
1
# sfm version
2
VERSION
=
0.1
3
4
# paths
5
PREFIX
= /
usr
/
local
6
MANPREFIX
= ${
PREFIX
}/
share
/
man
7
8
# flags
9
CPPFLAGS
= -
D_DEFAULT_SOURCE
-
D_BSD_SOURCE
-
D_POSIX_C_SOURCE
=
200809L
-
D_XOPEN_SOURCE
=
700
-
DVERSION
=
\"
${
VERSION
}
\"
10
CFLAGS
= -
std
=
c99
-
pedantic
-
Wextra
-
Wall
-
Os
${
CPPFLAGS
}
11
LDFLAGS
= -
s
12
13
# compiler and linker
14
CC
=
cc