# Author: Michael J. Fischer # Date: December 5, 2016 #----------------------------------------------------------- # Macro definitions CXXFLAGS = -O1 -g -Wall -std=c++14 OBJ = main.o stringstore.o TARGET = singleton #----------------------------------------------------------- # Rules all: $(TARGET) $(TARGET): $(OBJ) $(CXX) -o $@ $(OBJ) clean: rm -f $(OBJ) $(TARGET) #----------------------------------------------------------- # Dependencies main.o: main.cpp stringstore.hpp stringstore.o: stringstore.cpp stringstore.hpp