generates feasable solution, but problem with Makefile