Commit 52f63d2b authored by Mathieu Valois's avatar Mathieu Valois
Browse files

fix missing dependancy in Makefile

parent 86f64ede
Loading
Loading
Loading
Loading
+4 −1
Changes for Statsgen/makefile: 4 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -10,7 +10,10 @@ BIN = cstatsgen
$(BIN): main.o statsgen.o
	$(CXX) $^ -o $@ $(LDFLAGS)

%.o: $(SRC)/%.cpp $(INC)/statsgen.h
main.o: $(SRC)/main.cpp $(INC)/statsgen.h
	$(CXX) $(CXXFLAGS) $< -c -o $@

statsgen.o: $(SRC)/statsgen.cpp $(INC)/statsgen.h $(INC)/utils.h
	$(CXX) $(CXXFLAGS) $< -c -o $@

clean: