CXX = g++ CXXFLAGS = -Wall -O2 -std=c++11 OBJECTS = postrun.o runtime.o functions.o .PHONY: all clean remake all: postrun clean: rm -f $(OBJECTS) postrun remake: clean all postrun: $(OBJECTS) g++ -Wall -O2 -std=c++11 -o postrun $(OBJECTS)