Regression-tests makefiles

These patches improve the makefiles for the compiler regression tests.  And, they fix a couple of bugs:

* Object files are cleaned from the proper places (currently, the source directories).
* The "miscellaneous" directory now will compile the optimized versions of the programs, too.