home *** CD-ROM | disk | FTP | other *** search
Makefile | 1992-12-19 | 1.5 KB | 44 lines |
- #
- # Makefile --
- #
- # Makefile to build a wish with Extended Tcl (wishx).
- #
- #------------------------------------------------------------------------------
- # Copyright 1992 Karl Lehenbauer and Mark Diekhans.
- #
- # Permission to use, copy, modify, and distribute this software and its
- # documentation for any purpose and without fee is hereby granted, provided
- # that the above copyright notice appear in all copies. Karl Lehenbauer and
- # Mark Diekhans make no representations about the suitability of this
- # software for any purpose. It is provided "as is" without express or
- # implied warranty.
- #------------------------------------------------------------------------------
- # $Id: Makefile,v 2.2 1992/12/19 08:03:35 markd Exp $
- #------------------------------------------------------------------------------
- #
-
- include ../Config.mk
- include ../config/$(TCL_CONFIG_FILE)
- SHELL=/bin/sh
-
- #------------------------------------------------------------------------------
-
- CFLAGS= $(OPTIMIZE_FLAG) $(XCFLAGS) -I$(TCL_UCB_DIR) $(MEM_DEBUG_FLAGS)
-
- #------------------------------------------------------------------------------
-
- all: ../wishx
-
- ../wishx: ../libtk.a ../libtcl.a
- $(RANLIB_CMD) ../libtk.a
- $(CC) $(CFLAGS) ../tkucbsrc/main.o ../libtk.a ../libtcl.a \
- $(XLDFLAGS) $(TCL_TK_LIBS) -o ../wishx
- if $(DO_STRIPPING) ; then \
- strip ../wishx; \
- $(MCS_CMD) ../wishx; fi
-
- #------------------------------------------------------------------------------
-
- clean:
- -rm -f ../wishx
-