improve Makefile

 * Turn on compiler warnings
 * Add regex rule for compilation of .c files to object files