adapted Makefiles