Merge branch 'master' into devel Conflicts: snippets/include.omk snippets/qt.omk
Merge branch 'devel-cherrypick'
Removed emacs modelines Snippets can be recognized by .omk extension.
Snippets renamed to *.omk If OMK is tested by make -I and there is a file or a directory in the source tree of the same name as a snippet (e.g. include) it doesn't work.
Added OMK_RULES_TYPE variable to top-level snippets
rulesdef.py converted to Makefile.rules.* Conflicts: rulesdef.py
omkbuild.py: Makefile.rules are constructed by replacing include directives in snippets This allows for better structured rules and increases readability of snippets. It is also possible to test rules without "compiling" them by omkbuild.py as include directive is interpreted by make in the same way.
QT: Added QT_PROJECT variable This variable could be used as replacement for QT_SUBDIRS. Its purpose is to specify QT .pro files in the current directory to compile. Therefore, running make in a directory with QT application calls OMK, which in turn calls qmake with correct parameters and compiles QT application under _build tree.
Updated QT rules All temporary files are automatically put under _build and binaries under _compiled. Also LDFLAGS are propagated to qmake-generated Makefile. Clean target works correctly and no special target for distclean is needed as everything is put under _build. This behavior is problematic during development of QT application since it cannot be compiled by running make in sources directory.