CCFLAGS=-W -Wall -Werror -pedantic -std=c++17 all: main testCPP11 main: main.o g++ main.o -o main main.o: main.cpp g++ -c $(CCFLAGS) main.cpp testCPP11: testCPP11.o g++ testCPP11.o -o testCPP11 testCPP11.o: testCPP11.cpp g++ -c $(CCFLAGS) testCPP11.cpp clean: rm -f main.o main testCPP11.o testCPP11 a.out clear: rm -f main.o main testCPP11.o testCPP11 a.out