add separated makefiles for engine and hand-generations