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
new keyboard_mapping option to load pre-defined key bindings for
[spectrwm.git]
/
Makefile
diff --git
a/Makefile
b/Makefile
index
6b3c93f
..
42bccb5
100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-1,4
+1,3
@@
-# $scrotwm$
.include <bsd.xconf.mk>
PREFIX?=/usr/local
.include <bsd.xconf.mk>
PREFIX?=/usr/local
@@
-7,8
+6,8
@@
BINDIR=${PREFIX}/bin
SUBDIR= lib
PROG=scrotwm
SUBDIR= lib
PROG=scrotwm
-#MAN=scrotwm.1 scrotwm_es.1 scrotwm_it.1 scrotwm_pt.1 scrotwm_ru.1
-MAN=scrotwm.1
+#MAN=scrotwm_pt.1 scrotwm_ru.1
+MAN=scrotwm.1 scrotwm_es.1 scrotwm_it.1
CFLAGS+=-std=c89 -Wall -Wno-uninitialized -ggdb3
# Uncomment define below to disallow user settable clock format string
CFLAGS+=-std=c89 -Wall -Wno-uninitialized -ggdb3
# Uncomment define below to disallow user settable clock format string
@@
-23,5
+22,19
@@
MANDIR= ${PREFIX}/man/man
obj: _xenocara_obj
obj: _xenocara_obj
+# clang targets
+.if ${.TARGETS:M*analyze*}
+CC=clang
+CXX=clang++
+CPP=clang -E
+CFLAGS+=--analyze
+.elif ${.TARGETS:M*clang*}
+CC=clang
+CXX=clang++
+CPP=clang -E
+.endif
+
+analyze: all
+clang: all
.include <bsd.prog.mk>
.include <bsd.xorg.mk>
.include <bsd.prog.mk>
.include <bsd.xorg.mk>