File: Makefile

package info (click to toggle)
savi 1.6.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,932 kB
  • sloc: ansic: 7,054; tcl: 5,755; makefile: 270; sh: 237
file content (44 lines) | stat: -rw-r--r-- 1,123 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
#
# Makefile - SaVi tcl directory. Run top-level Makefile instead.
#
# $Id: Makefile 141 2020-01-08 05:59:21Z lloydwood $

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

  TCL_SRCS = init.tcl main.tcl utils.tcl load.tcl save.tcl coverage_frames.tcl \
		coverage.tcl coverage_size.tcl edit.tcl fisheye.tcl params.tcl \
		geomview.tcl random.tcl about.tcl oe.tcl constellations.tcl \
	        no_frames.tcl snapshot.tcl rosette.tcl star.tcl empty.tcl \
                sunlight.tcl equator.tcl details.tcl helpfile.tcl \
		load_url_tle.tcl

     TCLSH = tclsh

# FreeBSD will require this uncommented
# TCLSH = tclsh8.5

# older Cygwin and Insight Tcl may require this uncommented
# TCLSH = cygtclsh80.exe

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

 CLEAN_FILES = $(MKINDEX) tclIndex

all: buildtclIndex

buildtclIndex: $(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)