#
# Makefile for SAS/C LightWave plugins
#


# Plugins must be made with no stack checking to prevent the attempt to
# exit.  Since there are multiple entry points, there is no clear exit
# option.
#
UINC    = //include/
ULIB    = //lib/
CFLAGS	= cpu=68020 math=68881 opt nostkchk idir=$(UINC)


# Output *.p modules are made directly from C source files to keep this
# example simple.
#
.c.p:
	sc link $(CFLAGS) startup=$(ULIB)serv_s.o $*.c $(ULIB)server.lib pname=$@

all : vsformat.p
