]> git.zerfleddert.de Git - micropolis/blame - src/tclx/tclsrc/makefile
add simple Makefile in top directory
[micropolis] / src / tclx / tclsrc / makefile
CommitLineData
6a5fa4e0
MG
1#
2# Makefile --
3#
4# Makefile for Extended Tcl package library.
5#
6#------------------------------------------------------------------------------
7# Copyright 1992 Karl Lehenbauer and Mark Diekhans.
8#
9# Permission to use, copy, modify, and distribute this software and its
10# documentation for any purpose and without fee is hereby granted, provided
11# that the above copyright notice appear in all copies. Karl Lehenbauer and
12# Mark Diekhans make no representations about the suitability of this
13# software for any purpose. It is provided "as is" without express or
14# implied warranty.
15#------------------------------------------------------------------------------
16# $Id: Makefile,v 2.0 1992/10/16 04:51:50 markd Rel $
17#------------------------------------------------------------------------------
18#
19
20include ../config.mk
21include ../config/$(TCL_CONFIG_FILE)
22SHELL=/bin/sh
23
24#------------------------------------------------------------------------------
25
26TCL.TLIB=../tcllib/tcl.tlb
27TCL.TNDX=../tcllib/tcl.tdx
28
29#------------------------------------------------------------------------------
30
31TCL_SRCS=array.tcl assign.tcl edprocs.tcl forfile.tcl \
32 forrec.tcl globrec.tcl help.tcl packages.tcl \
33 pushd.tcl setfuncs.tcl showproc.tcl strfile.tcl \
34 compat.tcl convlib.tcl profrep.tcl
35
36#------------------------------------------------------------------------------
37
38all: made.tmp
39
40made.tmp: $(TCL.TLIB)
41 touch made.tmp
42
43$(TCL.TLIB): $(TCL_SRCS)
44 cat $(TCL_SRCS) | egrep -v '^#$$|^# *|^#-|^#=|^ *#' > $@
45
46#------------------------------------------------------------------------------
47
48clean:
49 touch junk~
50 -rm -f *~ made.tmp $(TCL.TLIB) $(TCL.TNDX)
51
Impressum, Datenschutz