# Comments # Syntax: # # Target: Dependencies # System Command # All of the lines in a makefile follow that general syntax. # Variables are declared at the beginning of the file simply # by assigning them some value like so: # # COMP=g++ # # And then used like this, # # $(COMP) smallest.o -o small all: small g++ smallest.o -o small small: smallest.cpp g++ -c smallest.cpp