aboutsummaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2017-07-12 00:24:51 +0200
committerQuentin Rameau <quinq@fifth.space>2017-07-12 00:28:10 +0200
commitfabd4602b3223666165c76c397644a081b9a97e5 (patch)
tree9536de9d5f56dae5c9853c3bb49b45a4d528a1fa /config.mk
parentb331da550b290d54592b7ba11242c92f5a303a48 (diff)
downloadst-patched-fabd4602b3223666165c76c397644a081b9a97e5.tar.bz2
st-patched-fabd4602b3223666165c76c397644a081b9a97e5.tar.xz
st-patched-fabd4602b3223666165c76c397644a081b9a97e5.zip
Do not obfuscate what make is doing.
Change some styling too while we're at it.
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk16
1 files changed, 8 insertions, 8 deletions
diff --git a/config.mk b/config.mk
index c84c5ee..527a64d 100644
--- a/config.mk
+++ b/config.mk
@@ -5,24 +5,24 @@ VERSION = 0.7
5 5
6# paths 6# paths
7PREFIX = /usr/local 7PREFIX = /usr/local
8MANPREFIX = ${PREFIX}/share/man 8MANPREFIX = $(PREFIX)/share/man
9 9
10X11INC = /usr/X11R6/include 10X11INC = /usr/X11R6/include
11X11LIB = /usr/X11R6/lib 11X11LIB = /usr/X11R6/lib
12 12
13# includes and libs 13# includes and libs
14INCS = -I. -I/usr/include -I${X11INC} \ 14INCS = -I$(X11INC) \
15 `pkg-config --cflags fontconfig` \ 15 `pkg-config --cflags fontconfig` \
16 `pkg-config --cflags freetype2` 16 `pkg-config --cflags freetype2`
17LIBS = -L/usr/lib -lc -L${X11LIB} -lm -lrt -lX11 -lutil -lXft \ 17LIBS = -L$(X11LIB) -lm -lrt -lX11 -lutil -lXft \
18 `pkg-config --libs fontconfig` \ 18 `pkg-config --libs fontconfig` \
19 `pkg-config --libs freetype2` 19 `pkg-config --libs freetype2`
20 20
21# flags 21# flags
22CPPFLAGS = -DVERSION=\"${VERSION}\" -D_XOPEN_SOURCE=600 22CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600
23CFLAGS += -g -std=c99 -pedantic -Wall -Wvariadic-macros -Os ${INCS} ${CPPFLAGS} 23CFLAGS = -g -std=c99 -pedantic -Wall -Wvariadic-macros -Os $(INCS) $(CPPFLAGS)
24LDFLAGS += -g ${LIBS} 24LDFLAGS = -g $(LIBS)
25 25
26# compiler and linker 26# compiler and linker
27# CC = cc 27# CC = c99
28 28