# Author: Michael J. Fischer # Date: February 1, 2016 #----------------------------------------------------------- # Macro definitions CXXFLAGS = -O1 -g -Wall -std=c++11 OBJ = graph.o graphM.o row.o tools.o TARGET = bargraph #----------------------------------------------------------- # Rules all: $(TARGET) $(TARGET): $(OBJ) $(CXX) -o $@ $(OBJ) clean: rm -f $(OBJ) $(TARGET) #----------------------------------------------------------- # Dependencies graph.o: graph.cpp graph.hpp tools.hpp row.hpp item.hpp graphM.o: graphM.cpp tools.hpp graph.hpp row.hpp item.hpp row.o: row.cpp row.hpp item.hpp tools.o: tools.cpp tools.hpp