Commit | Line | Data |
---|---|---|
6a5fa4e0 MG |
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.1 1992/11/07 22:33:46 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 | $(AR) cr ../libtcl.a $(SUPPORT_OBJS) | |
34 | touch made.tmp | |
35 | ||
36 | #------------------------------------------------------------------------------ | |
37 | ||
38 | clean: | |
39 | touch junk~ | |
40 | -rm -f *~ made.tmp | |
41 | -rm -f *.o |