doc = doc.txt .PHONY: all clean all: $(doc) $(doc): cat /dev/null > $@ clean: -rm $(doc)