January 18, 2011 | Making Sense of 'make' | Back Next |
We can concatenate by using a backslash at the end of the line.
dist: all tar --create --gzip --verbose \ --file $(ARCHIVE) $(SOURCE) Makefile
clean: rm -f $(RESULT)
We can create new targets which depend on existing targets and will call them as needed.
distclean: clean rm -f $(ARCHIVE)
Home Last TOC | Copyright © 2011 James E Keenan | Back Next |