
#########################
# Options du compilateur
#########################

CC = cc

CFLAGS= -g -I. \
	     -I /usr/include \
	     -I /usr/local/include
             
#########################
# Repertoires
#########################


#########################
# Options du linker
#########################

LDFLAGS = -L/usr/local/lib \
	  -L/usr/lib 


#########################
# Librairies
#########################

LIBS_solaris5.5 = -lsocket
LIBS_irix6.2 = -lsocket
LIBS_irix5.3 = 
LIBS_linux = 


#--------------------------------------------------------------------------
# Compilation



all : solaris5.5

solaris5.5 : Ouvre9Sockets.c
	${CC} $(CFLAGS) Ouvre9Sockets.c -o Ouvre9Sockets $(OBJ) $(LDFLAGS) $(LIBS_solaris5.5)
	
irix6.2 : Ouvre9Sockets.c
	${CC} $(CFLAGS) Ouvre9Sockets.c -o Ouvre9Sockets $(OBJ) $(LDFLAGS) $(LIBS_irix6.2)
	
irix5.3 : Ouvre9Sockets.c
	${CC} $(CFLAGS) Ouvre9Sockets.c -o Ouvre9Sockets $(OBJ) $(LDFLAGS) $(LIBS_irix5.3)

linux : Ouvre9Sockets.c
	${CC} $(CFLAGS) Ouvre9Sockets.c -o Ouvre9Sockets $(OBJ) $(LDFLAGS) $(LIBS_linux)
