Last change
on this file since 120 was 114, checked in by rjmcnab, 25 years ago |
Made the source more portable.
|
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
1.5 KB
|
Line | |
---|
1 | ###########################################################################
|
---|
2 | #
|
---|
3 | # Makefile -- 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 |
|
---|
11 | AR = ar
|
---|
12 | CC = gcc
|
---|
13 | CCFLAGS = -g -Wall
|
---|
14 | DEFS =
|
---|
15 | INCLUDES = -I../packages/mg-1.3d/lib
|
---|
16 | RANLIB = ranlib
|
---|
17 |
|
---|
18 |
|
---|
19 | COMPILE = $(CC) -c $(CCFLAGS) $(DEFS) $(INCLUDES)
|
---|
20 |
|
---|
21 | .SUFFIXES:
|
---|
22 | .SUFFIXES: .c .o
|
---|
23 | .c.o:
|
---|
24 | $(COMPILE) $<
|
---|
25 |
|
---|
26 | .SUFFIXES: .cpp .o
|
---|
27 | .cpp.o:
|
---|
28 | $(COMPILE) $<
|
---|
29 |
|
---|
30 |
|
---|
31 | HEADERS = \
|
---|
32 | cfgread.h fileutil.h gsdlunicode.h text_t.h \
|
---|
33 | display.h gsdlconf.h site.h
|
---|
34 |
|
---|
35 | SOURCES = \
|
---|
36 | cfgread.cpp fileutil.cpp text_t.cpp \
|
---|
37 | display.cpp gsdlunicode.cpp
|
---|
38 |
|
---|
39 | OBJECTS = \
|
---|
40 | cfgread.o fileutil.o text_t.o \
|
---|
41 | display.o gsdlunicode.o
|
---|
42 |
|
---|
43 |
|
---|
44 | all: gsdllib.a
|
---|
45 |
|
---|
46 |
|
---|
47 | GSDLLIBOBJECTS = text_t.o display.o cfgread.o fileutil.o gsdlunicode.o
|
---|
48 |
|
---|
49 | gsdllib.a: $(GSDLLIBOBJECTS)
|
---|
50 | rm -f gsdllib.a
|
---|
51 | $(AR) cru gsdllib.a $(GSDLLIBOBJECTS)
|
---|
52 | $(RANLIB) gsdllib.a
|
---|
53 |
|
---|
54 | clean:
|
---|
55 | rm -f $(OBJECTS) gsdllib.a
|
---|
56 |
|
---|
57 | install:
|
---|
58 |
|
---|
59 | depend:
|
---|
60 | makedepend -Y -- $(DEFS) $(INCLUDES) $(CCFLAGS) -- $(SOURCES)
|
---|
61 |
|
---|
62 | # DO NOT DELETE
|
---|
63 |
|
---|
64 | cfgread.o: cfgread.h gsdlconf.h site.h text_t.h
|
---|
65 | fileutil.o: fileutil.h text_t.h gsdlconf.h site.h
|
---|
66 | text_t.o: text_t.h gsdlconf.h site.h ../packages/mg-1.3d/lib/unitool.h
|
---|
67 | display.o: display.h gsdlconf.h site.h text_t.h gsdlunicode.h
|
---|
68 | gsdlunicode.o: gsdlunicode.h text_t.h gsdlconf.h site.h
|
---|
69 | gsdlunicode.o: ../packages/mg-1.3d/lib/unitool.h fileutil.h
|
---|
Note:
See
TracBrowser
for help on using the repository browser.