all: counterTester 

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

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

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

guessNum: numGuess.c
	gcc -o guessNum numGuess.c

binary: binary.c
	g++ binary.c -o binary

thread1: thread1.c
	gcc -o thread1 thread1.c -lpthread

thread2: thread2.c
	gcc -o thread2 thread2.c -lpthread

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

thread4: thread4.c
	gcc -o thread4 thread4.c -lpthread

thread5: thread5.c
	gcc -o thread5 thread5.c -lpthread

thread6: thread6.c
	gcc -o thread6 thread6.c -lpthread

pointer1: pointer1.c
	g++ -o pointer1 pointer1.c

pointer2: pointer2.c
	g++ -o pointer2 pointer2.c

pointer3: pointer3.c
	g++ -o pointer3 pointer3.c

pointer4: pointer4.c
	g++ -o pointer4 pointer4.c

pointer5: pointer5.c
	g++ -o pointer5 pointer5.c

pointer11: pointer11.c
	g++ -o pointer11 pointer1.c

fork1: forkExample1.c
	gcc -o fork1 forkExample1.c

fork2: forkExample2.c
	gcc -o fork2 forkExample2.c

memoryLeak: memoryLeak1.c
	gcc -o memoryLeak memoryLeak1.c

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

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

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

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











