improve makefiles