OUTPUTFILE=helloworld INSTALLDIR=bin all: $(OUTPUTFILE) $(OUTPUTFILE): helloworld.cpp .PHONY: install install: mkdir -p bin cp -p hello bin/ .PHONY: clean clean: rm -f hello