-VERSION=0.8
-PHP_FILES=src/BIFE/*.php
-META_FILES=xmi2code.config xmi2code.tpl.php Makefile Doxyfile package.xml
-DOC_FILES=doc/bife.xmi
-APIDOC_FILES=doc/api/* doc/api/*/*
+VERSION=0.11
+MODULE_FILE=BIFE.php
+MODULE_NAME=Core
+PHP_FILES=$(filter-out $(MODULE_FILE),$(subst ./,,$(shell find -name '*.php')))
+EXAMPLE_FILES=$(subst ./,,$(shell find examples -regex '.*\.svn.*'))
+DOC_FILES=README ROADMAP
+X2C_TEMPLATE=xmi2code.tpl.php