Xinqi Bao's Git
projects
/
slock.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
made slock more aggressive, DenisG please recheck
[slock.git]
/
config.mk
diff --git
a/config.mk
b/config.mk
index
48eef1f
..
83ab773
100644
(file)
--- a/
config.mk
+++ b/
config.mk
@@
-1,5
+1,5
@@
# slock version
# slock version
-VERSION = 0.
1
+VERSION = 0.
5
# Customize below to fit your system
# Customize below to fit your system
@@
-15,11
+15,14
@@
INCS = -I. -I/usr/include -I${X11INC}
LIBS = -L/usr/lib -lc -lcrypt -L${X11LIB} -lX11
# flags
LIBS = -L/usr/lib -lc -lcrypt -L${X11LIB} -lX11
# flags
-CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
+CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
-DHAVE_SHADOW_H
LDFLAGS = ${LIBS}
LDFLAGS = ${LIBS}
-#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
+#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
-DHAVE_SHADOW_H
#LDFLAGS = -g ${LIBS}
#LDFLAGS = -g ${LIBS}
+# On *BSD remove -DHAVE_SHADOW_H from CFLAGS
+# On OpenBSD and Darwin remove -lcrypt from LIBS
+
# compiler and linker
CC = cc
LD = ${CC}
# compiler and linker
CC = cc
LD = ${CC}