In his answer @Grundlefleck explains how to check whether a directory exists or not. I tried some to use this inside a makefile as follow:
makefile
foo.b
This approach functions with minimal echos:
.PHONY: all all: ifneq ($(wildcard ~/Dropbox/.*),) @echo "Found ~/Dropbox." else @echo "Did not find ~/Dropbox." endif