tFix build issues related to object ordering - glazier - window management experiments
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) Submodules
(DIR) README
(DIR) LICENSE
---
(DIR) commit ef7f4672b6ce58ff4afa6167f505d28e71d2a25b
(DIR) parent 58b6aba0e07f54015a1703d629f9631abbf861da
(HTM) Author: Willy Goiffon <dev@z3bra.org>
Date: Tue, 7 Sep 2021 13:45:10 +0200
Fix build issues related to object ordering
Diffstat:
M config.mk | 2 +-
M makefile | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
---
(DIR) diff --git a/config.mk b/config.mk
t@@ -7,4 +7,4 @@ MANDIR = ${PREFIX}/man
CPPFLAGS = -I./libwm
CFLAGS = -Wall -Wextra -pedantic -g
LDFLAGS = -L./libwm ${LIBS}
-LIBS = -lxcb -lxcb-cursor -lxcb-image -lxcb-randr -lwm
+LIBS = -lwm -lxcb-cursor -lxcb-image -lxcb-randr -lxcb
(DIR) diff --git a/makefile b/makefile
t@@ -3,7 +3,10 @@ include config.mk
all: glazier ewmh
glazier: glazier.o libwm/libwm.a
+ $(LD) -o $@ glazier.o $(LDFLAGS)
+
ewmh: ewmh.o libwm/libwm.a
+ $(LD) -o $@ ewmh.o $(LDFLAGS)
glazier.o: glazier.c config.h