summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorPetar Dimoski <petar.dimoski@seavus.com>2012-01-25 15:16:39 +0100
committerViktor Mladenovski <viktor.mladenovski@seavus.com>2012-05-25 14:43:12 +0200
commit10184ae5b432f3dd7e014afb9a8f0ea0cd880e26 (patch)
tree135e6fba0d83cbae52db8cd2fbb3ff0c9a494f44 /Makefile
parenta08c80408fca5875a895747e0ea6dc1aca29df18 (diff)
Clean up astyle and coverity errors
ST-Ericsson ID: 410188 ST-Ericsson FOSS-OUT ID: STETL-FOSS-OUT-10204 Change-Id: I70835353a592d1f1ad40743640a1d0827e56fd2e Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/45297 Tested-by: Aleksandar GASOSKI <aleksandar.gasoski@seavus.com> Reviewed-by: Vlatko PISTOLOV <vlatko.pistolov@seavus.com> Tested-by: Vlatko PISTOLOV <vlatko.pistolov@seavus.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 534681f..7ee4887 100644
--- a/Makefile
+++ b/Makefile
@@ -335,3 +335,8 @@ coverity:
@cov-commit-defects --datadir $(COV_DATA_DIR) --product lcd --user admin --dir $(COV_INTER_DATA_DIR)
@cov-start-gui --datadir $(COV_DATA_DIR) --port 1122
echo Go to localhost port 1122 in webbrowser and login with username admin and password admin to review result
+
+astyle:
+ astyle --style=k/r --indent=spaces --break-blocks --convert-tabs --add-brackets \
+ --unpad-paren --pad-header --pad-oper --indent-col1-comments --align-pointer=name \
+ -R "*.h" -R "*.c" -R "*.cpp"