
sco: oncellttyd.c
	cc -O -DSCO -o oncellttyd oncellttyd.c -lsocket				

linux: oncellttyd.c
	cc -O -DLINUX -o oncellttyd oncellttyd.c

svr42: oncellttyd.c
	cc -O -DSTREAM -o oncellttyd oncellttyd.c -lx -lsocket

svr5: oncellttyd.c	
	cc -O -DSTREAM -o oncellttyd oncellttyd.c -lsocket

sco6: oncellttyd.c
	cc -O -DSTREAM -o oncellttyd oncellttyd.c -lsocket -lnsl

aix: oncellttyd.c	
	cc -DAIX -o oncellttyd oncellttyd.c

hpunix: oncellttyd.c
	cc -O -DHPUX -o oncellttyd oncellttyd.c 

sun: oncellttyd.c	
	gcc -O -DSTREAM oncellttyd.c -o oncellttyd -lnsl -lsocket -laio 

qnx6: oncellttyd.c
	cc -O -DQNX6 -o oncellttyd oncellttyd.c -lsocket

qnx4: oncellttyd.c
	cc -O -DQNX4 -o oncellttyd oncellttyd.c -lsocket -lunix 

alpha: oncellttyd.c
	cc -O -DQNX4 -o oncellttyd oncellttyd.c 

freebsd: oncellttyd.c
	cc -O -DFREEBSD -o oncellttyd oncellttyd.c

clean: oncellttyd.c
	rm  -rf oncellttyd
	rm  -rf *.o 

cleanlog: 
	rm  -rf *.log 
	rm  -rf logindex 
