source ../functions.sh
-touch default-config
+touch config.omk-default
-cp Makefile.rules tools/
-make -k
+cp Makefile.rules subdir2/tools/
+make -k | tee make.log
+
+grep 'Extra rules goal:' make.log || error "Extra rules was not called"
+grep 'Main rules goal:' make.log || error "Main rules was not called"