mirror of
https://github.com/vale981/spectrwm
synced 2025-03-05 18:01:37 -05:00
make buildversion optional, from drahn
This commit is contained in:
parent
1e065dd313
commit
bec4acf876
1 changed files with 2 additions and 0 deletions
|
@ -12,7 +12,9 @@ CC= gcc
|
||||||
LVERS= $(shell . ../lib/shlib_version; echo $$major.$$minor)
|
LVERS= $(shell . ../lib/shlib_version; echo $$major.$$minor)
|
||||||
|
|
||||||
BUILDVERSION= $(shell sh $(CURDIR)/../buildver.sh)
|
BUILDVERSION= $(shell sh $(CURDIR)/../buildver.sh)
|
||||||
|
ifneq ("${BUILDVERSION}", "")
|
||||||
CFLAGS+= -DSPECTRWM_BUILDSTR=\"$(BUILDVERSION)\"
|
CFLAGS+= -DSPECTRWM_BUILDSTR=\"$(BUILDVERSION)\"
|
||||||
|
endif
|
||||||
|
|
||||||
all: spectrwm libswmhack.so.$(LVERS)
|
all: spectrwm libswmhack.so.$(LVERS)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue