tUse LIBS instead of LDLIBS which is GNU specific - glazier - window management experiments
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit 52fb8abc7cc442cf268200ff8603b2950a10ac2c
(DIR) parent f61937a0d407dcec794d377f2f7cc1921cd58d54
(HTM) Author: Willy Goiffon <dev@z3bra.org>
Date: Sun, 7 Jun 2020 12:53:41 +0200
Use LIBS instead of LDLIBS which is GNU specific
Diffstat:
M config.mk | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
---
(DIR) diff --git a/config.mk b/config.mk
t@@ -1,12 +1,10 @@
-VERSION = 0.0
-
CC = cc
LD = ${CC}
PREFIX = /usr/local
MANDIR = ${PREFIX}/man
-CPPFLAGS = -I./libwm -DVERSION=\"${VERSION}\"
+CPPFLAGS = -I./libwm
CFLAGS = -Wall -Wextra -pedantic -g
-LDFLAGS = -L./libwm
-LDLIBS = -lxcb -lxcb-cursor -lwm
+LDFLAGS = -L./libwm ${LIBS}
+LIBS = -lxcb -lxcb-cursor -lwm