Xinqi Bao's Git

Makefile: add distclean target
[slstatus.git] / config.mk
index f27a0a9..6fbf696 100644 (file)
--- a/config.mk
+++ b/config.mk
@@ -1,20 +1,16 @@
 # slstatus version
 VERSION = 0
 
-# Customize below to fit your system
+# customize below to fit your system
 
-#paths
-PREFIX = /usr/local
-MANPREFIX = ${PREFIX}/man
+# paths
+PREFIX    = /usr/local
+MANPREFIX = ${PREFIX}/share/man
 
 X11INC = /usr/X11R6/include
 X11LIB = /usr/X11R6/lib
 
 # flags
-CPPFLAGS = -I$(X11INC) -D_DEFAULT_SOURCE
-CFLAGS   = -std=c99 -pedantic -Wall -Wextra -Wno-unused -Os
-LDFLAGS  = -L$(X11LIB) -s
-LDLIBS   = -lX11
-
-# compiler and linker
-CC = cc
+CFLAGS   = -std=c99 -pedantic -Wall -Wextra -Os
+LDFLAGS  = -s
+LIBS     =