make: fix .o dep to separate compilation and link