Loading Statsgen/makefile +6 −11 Changes for Statsgen/makefile: 6 added lines, 11 removed lines. Original line number Diff line number Diff line CXX = g++ CXXFLAGS = -pedantic -Wall -std=c++11 -Wextra -Iinclude -lpthread -O3 SRC = src/ INC = include/ BIN = bin/ SRC = src INC = include BIN = bin .PHONY = clean all: stats stats: stats.o statsgen.o stats: main.o statsgen.o $(CXX) $^ $(CXXFLAGS) -o $@ stats.o: $(SRC)main.cpp $(INC)statsgen.h $(CXX) $(CXXFLAGS) $(SRC)main.cpp -c -o $@ statsgen.o: $(SRC)statsgen.cpp $(INC)statsgen.h $(CXX) $(CXXFLAGS) $(SRC)statsgen.cpp -c -o $@ %.o: $(SRC)/%.cpp $(INC)/statsgen.h $(CXX) $(CXXFLAGS) $< -c -o $@ clean: -rm -f *.o stats No newline at end of file Loading
Statsgen/makefile +6 −11 Changes for Statsgen/makefile: 6 added lines, 11 removed lines. Original line number Diff line number Diff line CXX = g++ CXXFLAGS = -pedantic -Wall -std=c++11 -Wextra -Iinclude -lpthread -O3 SRC = src/ INC = include/ BIN = bin/ SRC = src INC = include BIN = bin .PHONY = clean all: stats stats: stats.o statsgen.o stats: main.o statsgen.o $(CXX) $^ $(CXXFLAGS) -o $@ stats.o: $(SRC)main.cpp $(INC)statsgen.h $(CXX) $(CXXFLAGS) $(SRC)main.cpp -c -o $@ statsgen.o: $(SRC)statsgen.cpp $(INC)statsgen.h $(CXX) $(CXXFLAGS) $(SRC)statsgen.cpp -c -o $@ %.o: $(SRC)/%.cpp $(INC)/statsgen.h $(CXX) $(CXXFLAGS) $< -c -o $@ clean: -rm -f *.o stats No newline at end of file