simplified makefile with (bad) hack