#
# please note the following:
#
# 1. how to do sockets on solaris
# 2. how to do sockets on the rest of the planet.
#	(well not the microsoft part)
#
# for SunOS, linux, BSD, comment SOLARISLIBS out
# for Solaris comment SOLARISLIBS in
#
# local PSU solaris systems:
#	1. SOLARISLIBS must be on
#	2. use gcc, not cc
#	3. ignore warnings ... 
#
# If you do this on linux, use cc/no funky solaris libs
#
#SOLARISLIBS= -lsocket -lnsl 
#CC=cc
#CC=g++
CC=gcc

test: test.c
	$(CC) -g -o test test.c $(SOLARISLIBS)

clean:
	rm -f test
	rm -f write
	rm -f read
plus:
	g++ -g -o test test.c $(SOLARISLIBS) 
write:
	$(CC) -g -o write write.c $(SOLARISLIBS)

read:
	$(CC) -g -o read read.c $(SOLARISLIBS)

