]> git.zerfleddert.de Git - micropolis/blob - src/tclx/tksrc/makefile
Import Micropolis from http://www.donhopkins.com/home/micropolis/
[micropolis] / src / tclx / tksrc / makefile
1 #
2 # Makefile --
3 #
4 # Makefile for to build Extended wish.
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:54:30 markd Rel $
17 #------------------------------------------------------------------------------
18 #
19
20 include ../config.mk
21 include ../config/$(TCL_CONFIG_FILE)
22 SHELL=/bin/sh
23
24 #------------------------------------------------------------------------------
25
26 CFLAGS= $(OPTIMIZE_FLAG) $(XCFLAGS) -I$(TCL_UCB_DIR) $(MEM_DEBUG_FLAGS)
27
28 #------------------------------------------------------------------------------
29
30 all: ../wish
31
32 ../wish: ../libtk.a ../libtcl.a
33 $(RANLIB_CMD) ../libtk.a
34 $(CC) $(CFLAGS) ../tkucbsrc/main.o ../libtk.a ../libtcl.a \
35 $(XLDFLAGS) $(XPM_LIBS) $(TCL_TK_LIBS) -o ../wish
36 if $(DO_STRIPPING) ; then \
37 strip ../wish; \
38 $(MCS_CMD) ../wish; fi
39
40 #------------------------------------------------------------------------------
41
42 clean:
43 touch junk~
44 -rm -f *~ ../wish
Impressum, Datenschutz