#
# 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, probably the tabs will be 'translated' into
# a series of blanks.  So check and change the indents back
# into tabs or you will get syntax errors.
#

foodPass2: foodPass2.o sem.o
	g++ -o foodPass2 foodPass2.o sem.o -lpthread -lposix4
foodPass2.o: foodPass2.cpp sem.h
	g++ -c foodPass2.cpp
sem.o: sem.cpp sem.h
	g++ -c sem.cpp
