Makefile for the HiHo Program (for use on a Mac)

Note: you need to make sure that the indented lines below are made with TABS. If you just cut and paste from your browser window, the tabs may be 'translated' into a series of blanks. So check and change the indents back into tabs or you will get syntax errors.

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