# Transport control demo for RealTime.library.
# SAS C 6.1 Makefile

APP	= trans
SUPPORT = clamp.o quickbevel.o thinbevel.o imagebox.o selectnode.o
CFILES	= $(APP).c $(APP)_tm.c $(APP)_events.c boximage.c digits.c
OFILES	= $(APP).o $(APP)_tm.o $(APP)_events.o boximage.o digits.o $(SUPPORT)
HFILES	= $(APP).h $(APP)_text.h $(APP)_tm.h $(APP)_tm_text.h

CFLAGS	= nolink ansi unsignedchars nodebug opt

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

.a.o:
	SC $*.a nolink

all:	$(APP).o $(APP)_tm.o $(APP)

boximage.o: boximage.c
	SC $*.c saveds nostkchk $(CFLAGS)

$(APP):	$(OFILES) makefile
	SC $(OFILES) ProgramName=$(APP) stripdebug nostdio
