Added debug and release mode. If you call "make DEBUG=1" the debug version is created, otherwise the release version. Global.h now offers the macro "DB_PRINT" which prints messages only if in DEBUG mode.
some improvements/corrections to the makefile