]>
Commit | Line | Data |
---|---|---|
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 | -DTCL_HAS_TM_ZONE $(SUPPORT_FLAGS) | |
27 | ||
28 | #------------------------------------------------------------------------------ | |
29 | ||
30 | .c.o: | |
31 | $(CC) $(CFLAGS) <@< -c $< | |
32 | $(SYS_DEP_FLAGS) | |
33 | < | |
34 | ||
35 | all: made.tmp | |
36 | ||
37 | made.tmp: $(SUPPORT_OBJS) | |
38 | $(AR) cr ..\libtcl.a $(SUPPORT_OBJS) | |
39 | $(RANLIB) ..\libtcl.a | |
40 | touch made.tmp | |
41 | ||
42 | #------------------------------------------------------------------------------ | |
43 | ||
44 | clean: | |
45 | -rm -f made.tmp | |
46 | -rm -f *.o |