X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=linux%2FMakefile;h=5f983181495d48e1eab0bef32e576793401ad60d;hb=900f61bbbbd37bffe783bd5453d41f49a459e32e;hp=6f95f461f3b4ee804e8f628487927b266837451f;hpb=ce26d85ef8a815178ee708afc6d7048b1569fbe4;p=spectrwm.git diff --git a/linux/Makefile b/linux/Makefile index 6f95f46..5f98318 100644 --- a/linux/Makefile +++ b/linux/Makefile @@ -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: