I managed to make the new makefile work