## # 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 INCLUDES= -I. # replace -O with -g in order to debug 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)