Adaption of build/debug to NDK
Android port
Fixed static build on Ubuntu
Small Makefile fixes

1. Fixed "clean" make target to delete both .so and .a files

2. Made "hemul" binary dependent on .a files, which are build by
   submodules
Hemul could freeze on shutdown (vary rare) -> fixed
Better check of external dependencies

* Common libraries, i.e. common source dependencies, are better checked.
* BUILD file added explaining how to build and where to get the common
  libraries from.
Bug: When reading decimal timestamps.

scanf failed when type-cast int values were used. This is somewhat strange as
values should really only had been truncated. The error affected only tv_sec
part and for time-stamps like 177.165008, tv_sec would be scanned to a
incorrect high value. tv_usec was always read correctly.

This can only be explained by the fact that these two have different types.
The solution of not typecasting and increasing size for each to print-long
implies that they are nevertheless the same size as gcc doesn't complain.

It is unfortunate that printf/scanf with friends cant be specified more
precisely as both the size of formatters and the size of struct timeval
members can change. To do this better, one should have a dedicated function
whith pre-processor conditionals. It's good for now however.

This error was found by accident which failing to specify a good regexp for
kernel log time-stamps. The following one turns out as recommended as a
minimum:

-R'^.*\[([[:space:]]*[[:digit:]]+\.[[:digit:]]+)\].*'

Notice the anchor, '[:space:]' and the two '+' & '\[' '\]'. These are
important for a general pattern, but that is specific enough. The full
pattern for a kernel-log time-stamp however is:

^<[0-9]>\[[[:space:]]*([[:digit:]]+\.[[:digit:]]+)\].*
Envinronmet changes

Handles when both hemul and sampler needs to be in path, and when previous
version is also installed.
Echo added (-E flag)

For cases where output is written other than stdout, but one wants to see
the output nevertheless exactly when it's flushed, a -E flag is added that
adds the ability to also echo output to std-out.
Environment corrected.

As environmet needs to be sourced from src-root, check is added.

Note that PATH to src-root is added. This matters when sourcing .env from
more than one path at a time as bash will take the one in PATH first.
build: Generation of FOUND_CDEPS added

FOUND_CDEPS:= $(shell find . -name "*.d")

Lost somewhere on the way. This led to that dependency-files (*.d) were
never examined and risk for header-file miss-match obvious.

Category: bugfix