make: do not modify TARGET variable in the common part
make: use variables for defining the created directories

Preparation for multiple demo projects in the same subdirectory.
make: allow setting project specific LDFLAGS
make: prepare using a separate Makefile for each demo project
demo projects: support "Object Layer"