1 | ###########################################################################
|
---|
2 | #
|
---|
3 | # Makefile.in -- Makefile for general C++ libraries
|
---|
4 | # Copyright (C) 1998 Rodger McNab, Stefan Boddie
|
---|
5 | #
|
---|
6 | # This program is free software; you can redistribute it and/or modify
|
---|
7 | # it under the terms of the GNU General Public License as published by
|
---|
8 | # the Free Software Foundation; either version 2 of the License, or
|
---|
9 | # (at your option) any later version.
|
---|
10 | #
|
---|
11 | # This program is distributed in the hope that it will be useful,
|
---|
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
14 | # GNU General Public License for more details.
|
---|
15 | #
|
---|
16 | # You should have received a copy of the GNU General Public License
|
---|
17 | # along with this program; if not, write to the Free Software
|
---|
18 | # Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
---|
19 | #
|
---|
20 | # @(#)Makefile.in 1.3 16 Mar 1994
|
---|
21 | #
|
---|
22 | ###########################################################################
|
---|
23 |
|
---|
24 |
|
---|
25 | AR = ar
|
---|
26 | CC = gcc
|
---|
27 | CCFLAGS =
|
---|
28 | DEFS = -O2
|
---|
29 | RANLIB = ranlib
|
---|
30 | INCLUDES =
|
---|
31 |
|
---|
32 |
|
---|
33 | COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CCFLAGS)
|
---|
34 |
|
---|
35 | .SUFFIXES:
|
---|
36 | .SUFFIXES: .c .o
|
---|
37 | .c.o:
|
---|
38 | $(COMPILE) $<
|
---|
39 |
|
---|
40 | .SUFFIXES: .cpp .o
|
---|
41 | .cpp.o:
|
---|
42 | $(COMPILE) $<
|
---|
43 |
|
---|
44 |
|
---|
45 | HEADERS = text_h.h display.h cfgread.h fileutil.h
|
---|
46 |
|
---|
47 | SOURCES = text_t.cpp display.cpp cfgread.cpp fileutil.cpp
|
---|
48 |
|
---|
49 | OBJECTS = text_t.o display.o cfgread.o fileutil.o
|
---|
50 |
|
---|
51 | all : gsdllib.a
|
---|
52 |
|
---|
53 | gsdllib.a : $(OBJECTS)
|
---|
54 | rm -f gsdllib.a
|
---|
55 | $(AR) cru gsdllib.a $(OBJECTS)
|
---|
56 | $(RANLIB) gsdllib.a
|
---|
57 |
|
---|
58 | clean:
|
---|
59 | rm -f $(OBJECTS) gsdllib.a
|
---|
60 |
|
---|
61 | depend:
|
---|
62 | makedepend -Y -- $(DEFS) $(INCLUDES) $(CCFLAGS) -- $(SOURCES)
|
---|
63 |
|
---|
64 | # DO NOT DELETE
|
---|
65 |
|
---|
66 | text_t.o: text_t.h
|
---|
67 | display.o: display.h text_t.h
|
---|
68 | cfgread.o: cfgread.h text_t.h
|
---|
69 | fileutil.o: fileutil.h text_t.h
|
---|