#
# Make pltotf from the source code which is originally produced from
# the web code. If you have your own version of pltotf then even better.
#

#if (COND_PLTOTF == 0)
all:	pltotf

install:

relink:
	$(RM) -f pltotf
	make pltotf

print:
	$(PRINT_COMMAND) Makefile pltotf.c plext.c site.h web2c.h

pltotf:	pltotf.o plext.o
	$(CC) $(CFLAGS) -o pltotf pltotf.o plext.o
pltotf.o: pltotf.c web2c.h
	$(CC) $(CFLAGS) -c -Dindex=index_array pltotf.c
plext.o:  plext.c site.h

lint:
clean::
	$(RM) -f pltotf *.o
depend:
#else
all:
install:
relink:
print:
clean:
lint:
depend:
#endif
