From 73ec65a84d422fe4bd15a8d3572875f2413926e6 Mon Sep 17 00:00:00 2001 From: "Ali H. Fardan" Date: Sun, 21 Aug 2016 11:10:37 +0300 Subject: -Wextra --- config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.mk') diff --git a/config.mk b/config.mk index cdb9656..f01bcdb 100644 --- a/config.mk +++ b/config.mk @@ -16,7 +16,7 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lasound # flags CPPFLAGS = -DVERSION=\"${VERSION}\" -D_GNU_SOURCE -CFLAGS = -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} +CFLAGS = -std=c99 -pedantic -Wall -Wextra -O0 ${INCS} ${CPPFLAGS} #CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} LDFLAGS = ${LIBS} #LDFLAGS = -s ${LIBS} -- cgit v1.2.3 From 6f31ca6ce3ea722c7d1ecfe2099108133ce4215c Mon Sep 17 00:00:00 2001 From: "Ali H. Fardan" Date: Sun, 21 Aug 2016 15:43:57 +0300 Subject: fixed compiler warnings in a better way --- config.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.mk') diff --git a/config.mk b/config.mk index f01bcdb..8e404d6 100644 --- a/config.mk +++ b/config.mk @@ -16,7 +16,7 @@ LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lasound # flags CPPFLAGS = -DVERSION=\"${VERSION}\" -D_GNU_SOURCE -CFLAGS = -std=c99 -pedantic -Wall -Wextra -O0 ${INCS} ${CPPFLAGS} +CFLAGS = -std=c99 -pedantic -Wno-unused-function -Wall -Wextra -O0 ${INCS} ${CPPFLAGS} #CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} LDFLAGS = ${LIBS} #LDFLAGS = -s ${LIBS} -- cgit v1.2.3 From 1654efe1d67d0bec010792e8c6eb64a0f8e88a58 Mon Sep 17 00:00:00 2001 From: "Ali H. Fardan" Date: Mon, 5 Sep 2016 00:56:22 +0300 Subject: config.mk cleanup --- config.mk | 8 -------- 1 file changed, 8 deletions(-) (limited to 'config.mk') diff --git a/config.mk b/config.mk index 8e404d6..704558a 100644 --- a/config.mk +++ b/config.mk @@ -3,9 +3,7 @@ VERSION = 1.0 # Customize below to fit your system -# paths PREFIX = /usr/local -MANPREFIX = ${PREFIX}/share/man X11INC = /usr/X11R6/include X11LIB = /usr/X11R6/lib @@ -17,13 +15,7 @@ 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} -#CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} LDFLAGS = ${LIBS} -#LDFLAGS = -s ${LIBS} - -# Solaris -#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" -#LDFLAGS = ${LIBS} # compiler and linker CC = cc -- cgit v1.2.3 From 9fa858daeafb5398cdf19af9483b2854fe6e9772 Mon Sep 17 00:00:00 2001 From: "Ali H. Fardan" Date: Mon, 5 Sep 2016 01:13:48 +0300 Subject: added a tool for resetting the status bar && worked around some issues && removed the makefile (we need a better one) --- config.mk | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 config.mk (limited to 'config.mk') diff --git a/config.mk b/config.mk deleted file mode 100644 index 704558a..0000000 --- a/config.mk +++ /dev/null @@ -1,22 +0,0 @@ -NAME = slstatus -VERSION = 1.0 - -# Customize below to fit your system - -PREFIX = /usr/local - -X11INC = /usr/X11R6/include -X11LIB = /usr/X11R6/lib - -# includes and libs -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} -LDFLAGS = ${LIBS} - -# compiler and linker -CC = cc - -- cgit v1.2.3 From b9b6486cda91051553c9f9d7be75468c64206eec Mon Sep 17 00:00:00 2001 From: "Ali H. Fardan" Date: Mon, 5 Sep 2016 01:40:47 +0300 Subject: bringed back the old config.mk --- config.mk | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 config.mk (limited to 'config.mk') diff --git a/config.mk b/config.mk new file mode 100644 index 0000000..4745073 --- /dev/null +++ b/config.mk @@ -0,0 +1,19 @@ +VERSION = 1.0 + +PREFIX = /usr/local +MANPREFIX = ${PREFIX}/share/man + +X11INC = /usr/X11R6/include +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} +LDFLAGS = ${LIBS} + +CC = cc +LD = ld + -- cgit v1.2.3