#
# Server library and startup module -- SAS/C makefile
#
UINC    = /include/
ULIB    = /lib/

CFLAGS  = smalldata cpu=68020
SFLAGS  = $(CFLAGS) define RELEASE opt nostkchk

.c.o:
	sc $(SFLAGS) $*.c

.a.o:
	sc $(CFLAGS) $*.a


SERVLIB_O = slib4.o slib3.o slib2.o slib1.o


all : $(ULIB)server.lib $(ULIB)serv_s.o

$(ULIB)server.lib : $(SERVLIB_O)
	-delete $(ULIB)server.lib
	oml $(ULIB)server.lib r $(SERVLIB_O)

$(ULIB)serv_s.o : serv_s.o
	copy serv_s.o $(ULIB)serv_s.o
