summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2024-01-26 16:50:32 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2024-01-26 16:50:32 -0500
commit7c21fcadc205802abe79c42e59cd59acc916468d (patch)
tree2ff6d09e79ae03e06d02802c22fdb335419edc39
parentcf14e624ec6149c0b8bbe5f852f70d23cc475f8f (diff)
Prep for patching
-rw-r--r--.gitignore5
-rw-r--r--README.md3
-rw-r--r--config.mk2
3 files changed, 9 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index deb7983..248071a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,8 @@
+# Main binary file
+dwm
+
+pt/
+
### C ###
# Prerequisites
*.d
diff --git a/README.md b/README.md
index 8a52f47..62ff855 100644
--- a/README.md
+++ b/README.md
@@ -4,5 +4,8 @@ My dwm setup is quite quirky as it relies on [sxhkd][1] for all keybindings
(except quitting dwm). If you wonder how a custom [dwm][2] instance can be
kept in sync with the upstream version, look at [this file](GIT_CONFIG.md)
+My intent is to have `1 patch = 1 commit` so that I can easily backtrack if I
+change my mind about a patch later on.
+
[1]: https://github.com/baskerville/sxhkd
[2]: https://dwm.suckless.org
diff --git a/config.mk b/config.mk
index ba64d3d..a059aa1 100644
--- a/config.mk
+++ b/config.mk
@@ -28,7 +28,7 @@ LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
# flags
CPPFLAGS = -D_DEFAULT_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE=700L -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
-CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Os ${INCS} ${CPPFLAGS}
+CFLAGS = -std=c99 -pedantic -Wall -Wno-deprecated-declarations -Ofast -march=native ${INCS} ${CPPFLAGS}
LDFLAGS = ${LIBS}
# Solaris