Xinqi Bao's Git

config.mk cleanup
[slstatus.git] / config.mk
1 NAME = slstatus
2 VERSION = 1.0
3
4 # Customize below to fit your system
5
6 PREFIX = /usr/local
7
8 X11INC = /usr/X11R6/include
9 X11LIB = /usr/X11R6/lib
10
11 # includes and libs
12 INCS = -I. -I/usr/include -I${X11INC}
13 LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lasound
14
15 # flags
16 CPPFLAGS = -DVERSION=\"${VERSION}\" -D_GNU_SOURCE
17 CFLAGS = -std=c99 -pedantic -Wno-unused-function -Wall -Wextra -O0 ${INCS} ${CPPFLAGS}
18 LDFLAGS = ${LIBS}
19
20 # compiler and linker
21 CC = cc
22