source: trunk/gsdl/lib/Makefile@ 100

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

Added standard header to source files.

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.2 KB
Line 
1###########################################################################
2#
3# Makefile.in -- Makefile for general C++ libraries
4# Copyright (C) 1999 The New Zealand Digital Library Project
5#
6# PUT COPYRIGHT NOTICE HERE
7#
8###########################################################################
9
10
11AR = ar
12CC = gcc
13CCFLAGS =
14DEFS = -g
15RANLIB = ranlib
16INCLUDES = -I../packages/mg-1.3d/lib
17
18
19COMPILE = $(CC) -c $(DEFS) $(INCLUDES) $(CCFLAGS)
20
21.SUFFIXES:
22.SUFFIXES: .c .o
23.c.o:
24 $(COMPILE) $<
25
26.SUFFIXES: .cpp .o
27.cpp.o:
28 $(COMPILE) $<
29
30
31HEADERS = text_h.h display.h cfgread.h fileutil.h gsdlunicode.h
32
33SOURCES = text_t.cpp display.cpp cfgread.cpp fileutil.cpp gsdlunicode.cpp
34
35OBJECTS = text_t.o display.o cfgread.o fileutil.o gsdlunicode.o
36
37all: gsdllib.a
38
39gsdllib.a: $(OBJECTS)
40 rm -f gsdllib.a
41 $(AR) cru gsdllib.a $(OBJECTS)
42 $(RANLIB) gsdllib.a
43
44clean:
45 rm -f $(OBJECTS) gsdllib.a
46
47install:
48
49depend:
50 makedepend -Y -- $(DEFS) $(INCLUDES) $(CCFLAGS) -- $(SOURCES)
51
52# DO NOT DELETE
53
54text_t.o: text_t.h ../packages/mg-1.3d/lib/unitool.h
55display.o: display.h text_t.h gsdlunicode.h
56cfgread.o: cfgread.h text_t.h
57fileutil.o: fileutil.h text_t.h
58gsdlunicode.o: gsdlunicode.h text_t.h ../packages/mg-1.3d/lib/unitool.h
59gsdlunicode.o: fileutil.h
Note: See TracBrowser for help on using the repository browser.