Generate Makefile-rules automatically

Add perl-script to check each source file in src/ for #includes and
generate rules to build them.

The first call to make generates a separate rules file, the second
one starts the build.