1 2 3 4 5 6 7
CC=gcc CFLAGS=-o CVERSION=c++11 $1: $1.cpp $(CC) -Wall -std=$(CVERSION) $(CFLAGS) $1 $1.cpp