Mercurial > 510ConnectbotMonitor
diff Makefile @ 0:5564580fe160
initial version
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 05 May 2014 13:37:31 -0700 |
parents | |
children | f12df02aa228 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/Makefile Mon May 05 13:37:31 2014 -0700 @@ -0,0 +1,59 @@ +#mc40 is "On Device Storage" +#tc55 is "Internal Storage" + +dest=/run/user/1000/gvfs/mtp*/*torage/Download +apk='bin/510ConnectbotMonitor-debug.apk' + +all: + hg pull; hg update; rm -rf gen bin + android update project -p . -t android-16 + ant debug + +install: + cp $(apk) $(dest) + ls -al $(apk) $(dest) + +indentc: + indent --line-length100 \ + --brace-indent4 \ + --braces-on-if-line \ + --braces-on-func-def-line \ + --case-brace-indentation4 \ + --case-indentation4 \ + --comment-indentation60 \ + --cuddle-else \ + --declaration-comment-column60 \ + --no-tabs \ + -nbbo \ + -npcs \ + -nprs \ + -npsl \ + -saf -sai -saw \ + -i4 \ + $(shell find . -iname *.c -o -iname *.h -o -iname *.cpp) + +indentjava: + astyle --style=java \ + --attach-namespaces \ + --attach-classes \ + --indent-classes \ + --indent-switches \ + --indent-cases \ + --indent-namespaces \ + --break-blocks \ + --pad-oper \ + --pad-first-paren-out \ + --pad-header \ + --unpad-paren \ + --delete-empty-lines \ + --align-pointer=type \ + --break-closing-brackets \ + --keep-one-line-blocks \ + --keep-one-line-statements \ + --convert-tabs \ + --break-after-logical \ + --mode=java \ + $(shell find . -iname *.java | grep -v /gen/) + +docs: + doxygen