#
# General makefile...  SAS/C 5.10
#

all: ShowTree.ld

VERSION=37

MYLIBS= LIB:amiga.lib

LC = lc
ASM = casm

LFLAGS= BATCH SMALLCODE SMALLDATA

LCFLAGS = -cfistmq -d1 -O -rr -v -b0

.c.ld:
	BumpRev $(VERSION) $*_rev
	$(LC) $(LCFLAGS) $*.c
	blink <with <
FROM $*.o
TO $*.ld
LIB $(MYLIBS)
$(LFLAGS)
<
	Protect $*.ld +p
	blink $*.ld to $* ND
	Protect $* +p

clean:
	Delete \#?.(o|ld)
