# Copyright ©2020 Hal Perkins. All rights reserved. Permission is # hereby granted to students registered for University of Washington # CSE 333 for use solely during Spring Quarter 2020 for purposes of # the course. No other use, copying, distribution, or modification # is permitted without prior written consent. Copyrights for # third-party components of this work must be honored. Instructors # interested in reusing these course materials should contact the # author. # default target all: use_rect experiments # Executables use_rect: Point.o Rectangle.o g++ -Wall -g -std=c++11 -o use_rect use_rect.cc Point.o Rectangle.o experiments: experiments.cc g++ -Wall -g -std=c++11 -o experiments experiments.cc # individual source files Point.o: Point.cc Point.h g++ -Wall -g -std=c++11 -c Point.cc Rectangle.o: Rectangle.cc Rectangle.h g++ -Wall -g -std=c++11 -c Rectangle.cc # phony target - delete built files (including MacOS debug files -- not required) clean: rm -rf experiments use_rect *.o *~ experiments.dSYM use_rect.dSYM