diff options
author | Quentin Rameau <quinq@fifth.space> | 2017-07-12 00:24:51 +0200 |
---|---|---|
committer | Quentin Rameau <quinq@fifth.space> | 2017-07-12 00:28:10 +0200 |
commit | fabd4602b3223666165c76c397644a081b9a97e5 (patch) | |
tree | 9536de9d5f56dae5c9853c3bb49b45a4d528a1fa /config.mk | |
parent | b331da550b290d54592b7ba11242c92f5a303a48 (diff) | |
download | st-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.mk | 16 |
1 files changed, 8 insertions, 8 deletions
@@ -5,24 +5,24 @@ VERSION = 0.7 | |||
5 | 5 | ||
6 | # paths | 6 | # paths |
7 | PREFIX = /usr/local | 7 | PREFIX = /usr/local |
8 | MANPREFIX = ${PREFIX}/share/man | 8 | MANPREFIX = $(PREFIX)/share/man |
9 | 9 | ||
10 | X11INC = /usr/X11R6/include | 10 | X11INC = /usr/X11R6/include |
11 | X11LIB = /usr/X11R6/lib | 11 | X11LIB = /usr/X11R6/lib |
12 | 12 | ||
13 | # includes and libs | 13 | # includes and libs |
14 | INCS = -I. -I/usr/include -I${X11INC} \ | 14 | INCS = -I$(X11INC) \ |
15 | `pkg-config --cflags fontconfig` \ | 15 | `pkg-config --cflags fontconfig` \ |
16 | `pkg-config --cflags freetype2` | 16 | `pkg-config --cflags freetype2` |
17 | LIBS = -L/usr/lib -lc -L${X11LIB} -lm -lrt -lX11 -lutil -lXft \ | 17 | LIBS = -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 |
22 | CPPFLAGS = -DVERSION=\"${VERSION}\" -D_XOPEN_SOURCE=600 | 22 | CPPFLAGS = -DVERSION=\"$(VERSION)\" -D_XOPEN_SOURCE=600 |
23 | CFLAGS += -g -std=c99 -pedantic -Wall -Wvariadic-macros -Os ${INCS} ${CPPFLAGS} | 23 | CFLAGS = -g -std=c99 -pedantic -Wall -Wvariadic-macros -Os $(INCS) $(CPPFLAGS) |
24 | LDFLAGS += -g ${LIBS} | 24 | LDFLAGS = -g $(LIBS) |
25 | 25 | ||
26 | # compiler and linker | 26 | # compiler and linker |
27 | # CC = cc | 27 | # CC = c99 |
28 | 28 | ||