pythonReq := $(shell python -c 'import yaml' > /dev/null 2>&1 && (echo "installed" ) || (echo "not installed "; exit 1) ) check: @echo yaml module $(pythonReq) all: @echo Hello test: echo "hello world" clean: echo "Clean"