updated makefile upload task to depend on compile