projects
/
libusual.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
06dd57b
)
Makefile: check target for sparse checking
author
Marko Kreen
<markokr@gmail.com>
Mon, 12 Apr 2010 09:16:28 +0000
(12:16 +0300)
committer
Marko Kreen
<markokr@gmail.com>
Mon, 12 Apr 2010 09:16:48 +0000
(12:16 +0300)
Makefile
patch
|
blob
|
blame
|
history
diff --git
a/Makefile
b/Makefile
index 05382814fdb27575e79370ca3168094e58daf8a8..905c8e6667a5f6625965c2c2f2cffd39a515a2b7 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-72,6
+72,11
@@
usual/config.h:
@echo "Please run ./configure first"
@exit 1
+# run sparse over code
+check: config.mak
+ REAL_CC="$(CC)" \
+ $(MAKE) clean libusual.a CC="cgcc -Wsparse-all"
+
asms = $(objs:.o=.s)
asm: $(asms)