From 291a0b72fbeaf757056fbb7fba0376262360d877 Mon Sep 17 00:00:00 2001 From: Samuel Fadel Date: Mon, 19 Dec 2022 23:02:38 +0100 Subject: Refactoring to reduce repeated code, fix tiling bugs. * Makefile: Add optimization flag * init.scm: Use correct indices for workspaces * schewm.c: Many lines of repeated code removed --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 18c6342..4ef7bfc 100644 --- a/Makefile +++ b/Makefile @@ -4,4 +4,4 @@ LDFLAGS=`pkg-config --libs x11 xcb xcb-ewmh xcb-icccm xcb-keysyms xcb-randr` all: libschewm.so libschewm.so: schewm.c - gcc -fPIC -Wall -g ${CFLAGS} ${LDFLAGS} -shared -o libschewm.so schewm.c + gcc -fPIC -Wall -O2 ${CFLAGS} ${LDFLAGS} -shared -o libschewm.so schewm.c -- cgit v1.2.3