# Makefile to compile stl_example.cc # Written by Adam Meadows for CS141 # Makefile CPPFLAGS = -g -Wall -Werror CXX = g++ all: stl_example stl_example.o: stl_example.cc $(CXX) $(CPPFLAGS) -c stl_example.cc stl_example: stl_example.o $(CXX) $(CPPFLAGS) -o stl_example stl_example.o clean: rm -f *.o *~ stl_example