source: trunk/gsdl/lib/Makefile@ 93

Last change on this file since 93 was 93, checked in by rjmcnab, 25 years ago

Wrote an output and input converter for GBK. Added an option to collect.cfg
to specify which converter should be the default for a given collection.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.7 KB
Line 
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
25AR = ar
26CC = gcc
27CCFLAGS =
28DEFS = -O2 -g
29RANLIB = ranlib
30INCLUDES = -I../packages/mg-1.3d/lib
31
32
33COMPILE = $(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
45HEADERS = text_h.h display.h cfgread.h fileutil.h gsdlunicode.h
46
47SOURCES = text_t.cpp display.cpp cfgread.cpp fileutil.cpp gsdlunicode.cpp
48
49OBJECTS = text_t.o display.o cfgread.o fileutil.o gsdlunicode.o
50
51all : gsdllib.a
52
53gsdllib.a : $(OBJECTS)
54 rm -f gsdllib.a
55 $(AR) cru gsdllib.a $(OBJECTS)
56 $(RANLIB) gsdllib.a
57
58clean:
59 rm -f $(OBJECTS) gsdllib.a
60
61depend:
62 makedepend -Y -- $(DEFS) $(INCLUDES) $(CCFLAGS) -- $(SOURCES)
63
64# DO NOT DELETE
65
66text_t.o: text_t.h
67display.o: display.h text_t.h
68cfgread.o: cfgread.h text_t.h
69fileutil.o: fileutil.h text_t.h
Note: See TracBrowser for help on using the repository browser.