Makefile - g++ -c Chicken.cpp Hen.o: Hen.cpp Hen.h g++ -c...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
chickenSim: chickenSim.cpp Chicken.o Hen.o Breeds.o g++ -o chickenSim chickenSim.cpp Chicken.o Hen.o Breeds.o Chicken.o: Chicken.cpp Chicken.h
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: g++ -c Chicken.cpp Hen.o: Hen.cpp Hen.h g++ -c Hen.cpp Breeds.o: Breeds.cpp Breeds.h g++ -c Breeds.cpp clean: rm -f *.o chickenSim...
View Full Document

Ask a homework question - tutors are online