update the old Makefile if automake is not used.