From 7c21fcadc205802abe79c42e59cd59acc916468d Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Fri, 26 Jan 2024 16:50:32 -0500 Subject: Prep for patching --- .gitignore | 5 +++++ README.md | 3 +++ config.mk | 2 +- 3 files changed, 9 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3