JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
Move a few spaces to the right place.
[spectrwm.git] / linux / Makefile
index 6f95f46..5f98318 100644 (file)
@@ -11,6 +11,11 @@ CC= gcc
 
 LVERS= $(shell . ../lib/shlib_version; echo $$major.$$minor)
 
+BUILDVERSION= $(shell sh $(CURDIR)/../buildver.sh)
+ifneq ("${BUILDVERSION}", "")
+CFLAGS+= -DSPECTRWM_BUILDSTR=\"$(BUILDVERSION)\"
+endif
+
 all: spectrwm libswmhack.so.$(LVERS)
 
 spectrwm.c: