Got questions, comments, patches, etc.?
Contact Jason Woofenden
gitweb
/
spectrwm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
convert ewmh_autoquirk to XCB
[spectrwm.git]
/
linux
/
Makefile
diff --git
a/linux/Makefile
b/linux/Makefile
index
6f87778
..
81af925
100644
(file)
--- a/
linux/Makefile
+++ b/
linux/Makefile
@@
-1,4
+1,4
@@
-CFLAGS+= -Wall -ggdb -D_GNU_SOURCE -I.
+CFLAGS+= -Wall -g -D_GNU_SOURCE -I.
CFLAGS+= -DSWM_LIB=\"$(LIBDIR)/libswmhack.so.$(LVERS)\"
LDADD+= -lX11 -lXrandr -lXtst
CFLAGS+= -DSWM_LIB=\"$(LIBDIR)/libswmhack.so.$(LVERS)\"
LDADD+= -lX11 -lXrandr -lXtst
@@
-11,8
+11,10
@@
CC= gcc
LVERS= $(shell . ../lib/shlib_version; echo $$major.$$minor)
LVERS= $(shell . ../lib/shlib_version; echo $$major.$$minor)
-BUILDVERSION= $(shell sh ../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)