# Makefile # CSE 333 Lecture 15 code CXX = g++ CPPFLAGS = -Wall -g -std=c++11 PROGS = usetoy # default target builds all executables all: $(PROGS) # ToyPtr example usetoy: usetoy.cc ToyPtr.h $(CXX) $(CPPFLAGS) -o $@ $< # animals live-coding # - not included in PROGS because created in class animals: animals.cc $(CXX) $(CPPFLAGS) -o $@ $< # phony target - remove generated files and backups clean: rm -f *.o $(PROGS) animals