all: fork1 fork2 pipe1 pipe2

fork1:forkExample1.c myhdr.h
	g++ forkExample1.c -o fork1

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

pipe1:pipeEx1.c myhdr.h
	g++ pipeEx1.c -o pipe1

pipe2:pipeEx2.c myhdr.h
	g++ pipeEx2.c -o pipe2

ThrDemo:threadDemo.c
	g++ threadDemo.c -lpthread -o ThrDemo

client: tcpclient.c
	g++ tcpclient.c -lsocket -lnsl -o client

server: timeserver.c
	g++ timeserver.c -lsocket -lnsl -o server

socServer: unixSocServer.cc
	g++ unixSocServer.cc -lsocket -o socServer

socClient: unixSocClient.cc
	g++ unixSocClient.cc -lsocket -o socClient



