# Author: Brad Clements, bkc@omnigate.clarkson.edu   
# 1/28/89
# This makefile requires using the make program that comes w/ turbo C 2.0
# assumes you are using masm, not tasm. Change the -E of cflags if you want
# also assumes tlink 
#
OPT= /zq
INCLUDES=
CFLAGS = $(INCLUDES) $(OPT) $(DEBUG)
MFLAGS=/MX /T
LIBFLAGS=-c
CC = wcc386
LIB = wlib

OBJS= socket.obj io.obj close.obj util.obj perror.obj rpc.obj

GLUELIB=generic.lib

all: $(GLUELIB)	.SYMBOLIC

.c.obj:
	$(CC) $(CFLAGS) $*.c

$(GLUELIB): $(OBJS)
	$(LIB) $(LIBFLAGS) -n generic +$(OBJS)

clean:	.SYMBOLIC
	rm -f *.err *.lst *.obj *.bak $(GLUELIB)
