1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
# Simple makefile for the demos in the top level directory. .PHONY: advanced simple all: simple advanced @echo "Done!" advanced: g++ -std=c++11 -Iinclude src/*.cpp demo_advanced.cpp -o advanced simple: g++ -std=c++11 -Iinclude src/*.cpp demo_simple.cpp -o simple clean: rm -f simple rm -f advanced