X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/b9b6486cda91051553c9f9d7be75468c64206eec..5a70f920f04f1bfc2df959d2ae131f511b7c8e38:/config.mk?ds=sidebyside

diff --git a/config.mk b/config.mk
index 4745073..c120e76 100644
--- a/config.mk
+++ b/config.mk
@@ -1,4 +1,6 @@
-VERSION = 1.0
+# See LICENSE file for copyright and license details.
+
+VERSION = 3.0
 
 PREFIX = /usr/local
 MANPREFIX = ${PREFIX}/share/man
@@ -9,11 +11,10 @@ X11LIB = /usr/X11R6/lib
 INCS = -I. -I/usr/include -I${X11INC}
 LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lasound
 
-# flags
 CPPFLAGS = -DVERSION=\"${VERSION}\" -D_GNU_SOURCE
-CFLAGS = -std=c99 -pedantic -Wno-unused-function -Wall -Wextra -O0 ${INCS} ${CPPFLAGS}
+# -Wno-unused-function for routines not activated by user
+CFLAGS = -std=c99 -pedantic -Wno-unused-function -Wall -Wextra -Os ${INCS} ${CPPFLAGS}
 LDFLAGS = ${LIBS}
 
 CC = cc
 LD = ld
-