summaryrefslogtreecommitdiff
path: root/dwm/config.mk
diff options
context:
space:
mode:
authorbacalhau <bacalhau@based.pt>2025-06-08 15:55:29 +0100
committerbacalhau <bacalhau@based.pt>2025-06-08 15:55:29 +0100
commita3f76f49addeecb6138ee2ae1d089c60d2df04a7 (patch)
tree9b5ea1d3ef854d19f8239967c21d728edb27a397 /dwm/config.mk
parent3ab7348ee95f2918cb9ae299290a812252663923 (diff)
added files (for eel)HEADmaster
Diffstat (limited to 'dwm/config.mk')
-rwxr-xr-xdwm/config.mk61
1 files changed, 61 insertions, 0 deletions
diff --git a/dwm/config.mk b/dwm/config.mk
new file mode 100755
index 0000000..ca4066f
--- /dev/null
+++ b/dwm/config.mk
@@ -0,0 +1,61 @@
+# dwm version
+VERSION = 6.5
+
+# Customize below to fit your system
+
+# paths
+PREFIX = /usr/local
+MANPREFIX = ${PREFIX}/share/man
+
+X11INC = /usr/X11R6/include
+X11LIB = /usr/X11R6/lib
+
+# Xinerama, comment if you don't want it
+XINERAMALIBS = -lXinerama
+XINERAMAFLAGS = -DXINERAMA
+
+# freetype
+FREETYPELIBS = -lfontconfig -lXft
+FREETYPEINC = /usr/include/freetype2
+# OpenBSD (uncomment)
+#FREETYPEINC = ${X11INC}/freetype2
+#MANPREFIX = ${PREFIX}/man
+
+# includes and libs
+INCS = -I${X11INC} -I${FREETYPEINC}
+LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS}
+
+LIBS += -lXRes
+
+LIBS += -lXRes
+
+LIBS += -lXRes
+
+LIBS += -lXRes
+
+LIBS += -lXRes
+
+LIBS += -lXRes
+
+LIBS += -lXRes
+
+LIBS += -lXRes
+
+LIBS += -lXRes
+
+LIBS += -lXRes
+
+LIBS += -lXRes
+
+# 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 -O2 ${INCS} ${CPPFLAGS}
+LDFLAGS = ${LIBS}
+
+# Solaris
+#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
+#LDFLAGS = ${LIBS}
+
+# compiler and linker
+CC = cc