COBJS=filein_utils.o random.o real2string.o strings.o tty_utils.o
OCCOBJS=filein_utils.tco random.tco real2string.tco strings.tco tty_utils.tco
CLIB=libex.a

RANLIB=ranlib

.SUFFIXES: .occ
.occ.o:
	kroc -c $<

all: $(CLIB)

build: $(CLIB)

$(CLIB): $(COBJS)
	-rm -f $(CLIB)
	ar rc $@ $(COBJS)
	$(RANLIB) $@

clean:
	-$(RM) $(COBJS) $(OCCOBJS) *.t *.s *.o *.tco *~

install:
	@echo "Nothing to install"

