improved makefile for develop process
moved input check to main