From da3523b11bcb174dac02fbfabfa58ed6b78a8622 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Sat, 3 Dec 2022 15:59:48 +0100 Subject: It's alive! * Makefile: Add pkg-config flags to properly link some symbols * wm.scm: Added wm-run and cleanup * schewm.c: Ported a lot more stuff, still missing key features * main.scm: Call wm-run --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 3d127d2..2d8ba0f 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,7 @@ +CFLAGS=`pkg-config --cflags xcb xcb-ewmh xcb-icccm xcb-keysyms xcb-randr` +LDFLAGS=`pkg-config --libs xcb xcb-ewmh xcb-icccm xcb-keysyms xcb-randr` + all: libschewm.so libschewm.so: schewm.c - gcc -fPIC -Wall -shared -o libschewm.so schewm.c + gcc -fPIC -Wall ${CFLAGS} ${LDFLAGS} -shared -o libschewm.so schewm.c -- cgit v1.2.3