home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Source Code 1993 July / THE_SOURCE_CODE_CD_ROM.iso / languages / tcl / tclX6.5c / osSupport / Makefile next >
Encoding:
Makefile  |  1992-12-19  |  1.4 KB  |  43 lines

  1. #
  2. # Makefile  --
  3. #
  4. # Makefile for Extended Tcl ossupport code.
  5. #------------------------------------------------------------------------------
  6. # Copyright 1992 Karl Lehenbauer and Mark Diekhans.
  7. #
  8. # Permission to use, copy, modify, and distribute this software and its
  9. # documentation for any purpose and without fee is hereby granted, provided
  10. # that the above copyright notice appear in all copies.  Karl Lehenbauer and
  11. # Mark Diekhans make no representations about the suitability of this
  12. # software for any purpose.  It is provided "as is" without express or
  13. # implied warranty.
  14. #------------------------------------------------------------------------------
  15. # $Id: Makefile,v 2.2 1992/12/19 19:10:57 markd Exp $
  16. #------------------------------------------------------------------------------
  17. #
  18.  
  19. include ../Config.mk
  20. include ../config/$(TCL_CONFIG_FILE)
  21. SHELL=/bin/sh
  22.  
  23. #------------------------------------------------------------------------------
  24.  
  25. CFLAGS=$(OPTIMIZE_FLAG) $(XCFLAGS) -I../$(TCL_UCB_DIR) $(MEM_DEBUG_FLAGS) \
  26.   $(SYS_DEP_FLAGS) $(SUPPORT_FLAGS)
  27.  
  28. #------------------------------------------------------------------------------
  29.  
  30. all: made.tmp
  31.  
  32. made.tmp: $(SUPPORT_OBJS)
  33.     if test "$(SUPPORT_OBJS)" != "" ; then \
  34.         $(AR) cvr ../libtcl.a $(SUPPORT_OBJS) ;\
  35.     fi
  36.     touch made.tmp
  37.  
  38. #------------------------------------------------------------------------------
  39.  
  40. clean:
  41.     -rm -f made.tmp
  42.     -rm -f *.o
  43.