all: counterTester memEx guessNum thr1 thr2 thr3 thr4 thr5 thr6 thr7 pipe1 pipe2 pipe3

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

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

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

memEx: mallocEx.c
	g++ -o memEX mallocEx.c

guessNum: numGuess.c
	g++ -o guessNum numGuess.c

fork1: forkExample.c
	g++ -o fork1 forkExample.c

fork11: forkExample1.c
	g++ -o fork11 forkExample1.c

fork2: forkExample2.c
	g++ -o fork2 forkExample2.c

thr1: thread1.c
	g++ thread1.c -lpthread -o thr1

thr2: thread2.c
	g++ thread2.c -lpthread -o thr2

thr3: thread3.c
	g++ thread3.c -lpthread -o thr3

thr4: thread4.c
	g++ thread4.c -lpthread -o thr4

thr5: thread5.c
	g++ thread5.c -lpthread -o thr5

thr6: thread6.c
	g++ thread6.c -lpthread -o thr6

thr7: probMatrix.c
	g++ probMatrix.c -lpthread -o thr7

MI6: MI6.c
	g++ MI6.c -o MI6

TCE: TableDrivenCE.c
	g++ TableDrivenCE.c -o TCE

TE: TableDrivenCE1.c
	g++ TableDrivenCE1.c -o TE

TE2: TableDrivenCE2.c
	g++ TableDrivenCE2.c -o TE2

pipe1: PipeEx.c
	g++ PipeEx.c -o pipe1

pipe2: pipeEx1.c
	g++ pipeEx1.c -o pipe2

pipe3: pipeEx2.c
	g++ pipeEx1.c -o pipe3

sig1: sigtest.c
	g++ -o sig1 sigtest.c

sig2: sigtest1.c
	g++ -o sig2 sigtest1.c

sigHand: signalHandler.c
	g++ -o sigHand signalHandler.c

pingpong: pingpong.c
	g++ -o pingpong pingpong.c

mem:memoryLeak.c
	g++ -o mem memoryLeak.c

mem1:memoryLeak1.c
	g++ -o mem1 memoryLeak1.c











