#### Start of system configuration section. ####

srcdir =	@srcdir@
VPATH =		@srcdir@

CC =		@CC@

CFLAGS =	@CFLAGS@

#### End system configuration section ####

OTHER_CFLAGS =	-I$(srcdir)
ALL_CFLAGS =	$(OTHER_CFLAGS) $(CFLAGS)

.c.o:
		$(CC) -c $(ALL_CFLAGS) $<

all :		tc1 tc2 tc3

tc1 :		tc1.o
		$(CC) -o tc1 tc1.o ../libtermcap.a

tc2 :		tc2.o
		$(CC) -o tc2 tc2.o ../libtermcap.a

tc3 :		tc3.o
		$(CC) -o tc3 tc3.o ../libtermcap.a

clean:
		rm -f *! *~

clobber:	clean
		rm -f tc1 tc2 tc3 *.o


