From ae08d6f2ceae03dd5f95e099522ec990f191c017 Mon Sep 17 00:00:00 2001 From: Alexander Rosenberg Date: Fri, 15 Sep 2023 15:03:02 -0700 Subject: [PATCH] Create config.def.mk --- .gitignore | 1 + Makefile | 3 +++ config.mk => config.def.mk | 4 ++-- 3 files changed, 6 insertions(+), 2 deletions(-) rename config.mk => config.def.mk (88%) diff --git a/.gitignore b/.gitignore index 1c3f955..ff2bea6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ blocks.h +config.mk dwmblocks dwmblocks-pulse-listener dwmblocks-*.pkg.tar.* diff --git a/Makefile b/Makefile index 0347a1e..891bf09 100644 --- a/Makefile +++ b/Makefile @@ -15,6 +15,9 @@ dwmblocks: dwmblocks.c pulse-listener.c blocks.def.h blocks.h blocks.h: cp blocks.def.h $@ +config.mk: + cp config.def.mk $@ + clean: rm -f *.o *.gch dwmblocks diff --git a/config.mk b/config.def.mk similarity index 88% rename from config.mk rename to config.def.mk index 124c15e..b0e0146 100644 --- a/config.mk +++ b/config.def.mk @@ -6,9 +6,9 @@ PULSEFLAGS := -lpulse NO_X = # Uncomment to build without X11 -NO_X = -DNO_X +# NO_X = -DNO_X # FreeBSD (uncomment) #LDFLAGS += -L/usr/local/lib -I/usr/local/include -# # OpenBSD (uncomment) +# OpenBSD (uncomment) #LDFLAGS += -L/usr/X11R6/lib -I/usr/X11R6/include