summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSamuel Fadel <samuel@nihil.ws>2022-12-19 23:02:38 +0100
committerSamuel Fadel <samuel@nihil.ws>2022-12-19 23:02:38 +0100
commit291a0b72fbeaf757056fbb7fba0376262360d877 (patch)
tree6e5bee2e5f4dc2d8b0832f638f55ae52ba7bafab /Makefile
parent86d7067f5d27d7c97e9a1de8c4103e139af66c40 (diff)
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
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
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