Mostly, renaming target to project name and defining dependencies where ...

...header files are needed.