aboutsummaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorAnselm R Garbe <garbeam@gmail.com>2008-07-29 19:14:53 +0100
committerAnselm R Garbe <garbeam@gmail.com>2008-07-29 19:14:53 +0100
commit75dd7792456d9eb4a4c3142b81fbda5ca39a3a51 (patch)
tree1e8ceb74ff2a2a340fac23cc81892faa751b6e9f /config.mk
parent1460b14f450d65c68bf519538de5b5df1a7bc01c (diff)
downloadslock-75dd7792456d9eb4a4c3142b81fbda5ca39a3a51.tar.gz
slock-75dd7792456d9eb4a4c3142b81fbda5ca39a3a51.tar.xz
prepared release
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk10
1 files changed, 4 insertions, 6 deletions
diff --git a/config.mk b/config.mk
index 442b4cf..cfa5369 100644
--- a/config.mk
+++ b/config.mk
@@ -14,17 +14,15 @@ INCS = -I. -I/usr/include -I${X11INC}
LIBS = -L/usr/lib -lc -lcrypt -L${X11LIB} -lX11 -lXext
# flags
-CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" -DHAVE_SHADOW_H
-LDFLAGS = ${LIBS}
-#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" -DHAVE_SHADOW_H
-#LDFLAGS = -g ${LIBS}
+CPPFLAGS = -DVERSION=\"${VERSION}\" -DHAVE_SHADOW_H
+CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+LDFLAGS = -s ${LIBS}
-# On *BSD remove -DHAVE_SHADOW_H from CFLAGS and add -DHAVE_BSD_AUTH
+# On *BSD remove -DHAVE_SHADOW_H from CPPFLAGS and add -DHAVE_BSD_AUTH
# On OpenBSD and Darwin remove -lcrypt from LIBS
# compiler and linker
CC = cc
-LD = ${CC}
# Install mode. On BSD systems MODE=2755 and GROUP=auth
# On others MODE=4755 and GROUP=root