.c.o:
	sc $(CFLAGS) $<

CFLAGS = nostackcheck structureequivalence
LFLAGS = smallcode smalldata nodebug

LIBS = lib:sc.lib lib:amiga.lib
OBJS = strdemo.o strhooks.o strgad.o

all: strdemo

strdemo: $(OBJS)
	slink lib:c.o $(OBJS) to $@ lib $(LIBS) $(LFLAGS)

clean:
	-delete $(OBJS)
