#
# makefile for the SMUS server demo program
#
# add -DDEBUG to CFLAGS
#
# add -n to CFLAGS and -g to SDBFLAGS to get an sdb .dbg file
#
#

#CFLAGS=	+L 
CFLAGS=	+L -n

#SDBFLAG=
SDBFLAG= -g

OFILES= main.o smusinterface.o cleanup.o 

HFILES=  smus_requests.h

.c.o:
	cc $(CFLAGS) $*.c

all:	smus
	say "ready"

clean:
	-delete #?.o quiet
	-delete #?.bak quiet
	-delete #?.dbg quiet

scratch:	clean	all

smus:	$(OFILES)
	ln $(SDBFLAG) +Q -o smus $(OFILES) -lcl32

