#
# Makefile
#

       SHELL = /bin/sh
          RM = /bin/rm -f

  TCL_SRCS = init.tcl main.tcl utils.tcl load.tcl save.tcl \
		coverage.tcl edit.tcl fisheye.tcl params.tcl \
		random.tcl about.tcl oe.tcl constellations.tcl


     TCLSH = tclsh
   MKINDEX = mkindex.tcl
OTHER_SRCS = $(TCL_SRCS) tclIndex

 CLEAN_FILES =
 
all:: tclIndex

tclIndex: $(MKINDEX) $(TCL_SRCS)
	$(TCLSH) $(MKINDEX)

$(MKINDEX): Makefile
	echo "auto_mkindex . $(TCL_SRCS)" > $(MKINDEX)

tarfilelist:
	@srcs="Makefile $(OTHER_SRCS) lib" ; \
	for i in $$srcs ; do \
	  echo "$(CURRENT_DIR)/$$i" >> $(TOP)/fileslist ; \
	done

clean:
	$(RM) *~ $(CLEAN_FILES)
