all: driver

driver: Counter.o counterTester.o
	g++ counterTester.o Counter.o -o driver

Counter.o: Counter.h Counter.cc
	g++ -c Counter.cc

counterTester.o: Counter.h counterTester.cc
	g++ -c counterTester.cc 

forkEx: forkExample.cc
	g++ forkExample.cc -o forkEx

pipe1: pipeEx1.cc
	g++ pipeEx1.cc -o pipe1

pipe2: pipeEx2.cc
	g++ pipeEx2.cc -o pipe2

thread1: threadDemo.cc
	g++ threadDemo.cc -lpthread -o thread1
