##
# Makefile Generated by genmake 1.0, Nov-16-96
# genmake 1.0 by ma_muquit@fccc.edu, RCS
##
CC= @CC@
DEFS= @DEFS@ 
AR= ar cq
RANLIB= @RANLIB@
LIBNAME= libmsock.a

OPENSSL_DIR=@OPENSSL_DIR@
OPENSSL_INC=@OPENSSL_INC@
OPENSSL_LIBS=@OPENSSL_LIBS@

INCLUDES=  -I. $(OPENSSL_INC)

DEFINES= $(INCLUDES) $(DEFS) -DSYS_UNIX=1
CFLAGS= -O $(DEFINES)

SRCS = msock.c

OBJS = msock.o

.c.o:
	rm -f $@
	$(CC) $(CFLAGS) -c $*.c

all: $(LIBNAME)

$(LIBNAME) : $(OBJS)
	rm -f $@
	$(AR) $@ $(OBJS)
	$(RANLIB) $@


clean:
	rm -f $(OBJS) $(LIBNAME) core

clean_all:
	make clean
	(cd examples/htget; make clean)    
	(cd examples/echod; make clean)    
	(cd examples/server_type; make clean)    
