(Latest Revision: Fri Mar 31 17:02:25 PDT 2017 ) Makefile

Makefile



# To compile the program put star.cpp, sem.cpp,
# sem.h, and this file: Makefile in a directory
# on one of the lab Macs.  Then type 
#         make
# at the shell prompt while 'in' the directory

star: star.o sem.o
	g++ -o star star.o sem.o
star.o: star.cpp sem.h
	g++ -c star.cpp
sem.o: sem.cpp sem.h
	g++ -c sem.cpp