|
|
1.1 root 1: # GNU Objective C Runtime Makefile for compiling with djgpp
2: # Copyright (C) 1993 Free Software Foundation, Inc.
3: #
4: # This file is part of GNU CC.
5: #
6: # GNU CC is free software; you can redistribute it and/or modify it under the
7: # terms of the GNU General Public License as published by the Free Software
8: # Foundation; either version 2, or (at your option) any later version.
9: #
10: # GNU CC is distributed in the hope that it will be useful, but WITHOUT ANY
11: # WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
12: # FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
13: # details.
14: #
15: # You should have received a copy of the GNU General Public License along with
16: # GNU CC; see the file COPYING. If not, write to the Free Software
17: # Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
18:
19: # This Makefile is configured for GnuMAKE
20:
21: GCC_FOR_TARGET=gcc
22:
23: .SUFFIXES: .o .m
24:
25: OPTIMIZE = -O2
26:
27: # Always search these dirs when compiling.
28: SUBDIR_INCLUDES = -I. -I.. -I../config
29:
30: .c.o:
31: $(GCC_FOR_TARGET) $(OPTIMIZE) \
32: -c $(GCC_CFLAGS) $(SUBDIR_INCLUDES) $<
33:
34: .m.o:
35: $(GCC_FOR_TARGET) $(OPTIMIZE) -fgnu-runtime \
36: -c $(GCC_CFLAGS) $(SUBDIR_INCLUDES) $<
37:
38: OBJC_O = hash.o sarray.o class.o sendmsg.o init.o archive.o \
39: selector.o objects.o misc.o object.o protocol.o
40:
41: libobjc.a: $(OBJC_O)
42: -rm -f libobjc.a
43: ar rc libobjc.a $(OBJC_O)
44: ranlib libobjc.a
45:
46: OBJC_H = hash.h list.h sarray.h objc.h \
47: objc-api.h \
48: object.h protocol.h mutex.h \
49: typedstream.h
50:
51: mostlyclean:
52: -rm -f *.o libobjc.a xforward fflags
53: clean: mostlyclean
54: distclean: mostlyclean
55: extraclean: mostlyclean
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.