makefile 142 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 static: static.o g++ -g -Wall $^ -o $@ static.o: static.cpp g++ -g -c -Wall -pedantic $< -o $@ .PHONY: clean clean: -rm static.o static