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 |
|
---|
11 | AR = ar
|
---|
12 | CC = gcc
|
---|
13 | CCFLAGS =
|
---|
14 | DEFS = -g
|
---|
15 | RANLIB = ranlib
|
---|
16 | INCLUDES = -I../packages/mg-1.3d/lib
|
---|
17 |
|
---|
18 |
|
---|
19 | COMPILE = $(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 |
|
---|
31 | HEADERS = text_h.h display.h cfgread.h fileutil.h gsdlunicode.h
|
---|
32 |
|
---|
33 | SOURCES = text_t.cpp display.cpp cfgread.cpp fileutil.cpp gsdlunicode.cpp
|
---|
34 |
|
---|
35 | OBJECTS = text_t.o display.o cfgread.o fileutil.o gsdlunicode.o
|
---|
36 |
|
---|
37 | all: gsdllib.a
|
---|
38 |
|
---|
39 | gsdllib.a: $(OBJECTS)
|
---|
40 | rm -f gsdllib.a
|
---|
41 | $(AR) cru gsdllib.a $(OBJECTS)
|
---|
42 | $(RANLIB) gsdllib.a
|
---|
43 |
|
---|
44 | clean:
|
---|
45 | rm -f $(OBJECTS) gsdllib.a
|
---|
46 |
|
---|
47 | install:
|
---|
48 |
|
---|
49 | depend:
|
---|
50 | makedepend -Y -- $(DEFS) $(INCLUDES) $(CCFLAGS) -- $(SOURCES)
|
---|
51 |
|
---|
52 | # DO NOT DELETE
|
---|
53 |
|
---|
54 | text_t.o: text_t.h ../packages/mg-1.3d/lib/unitool.h
|
---|
55 | display.o: display.h text_t.h gsdlunicode.h
|
---|
56 | cfgread.o: cfgread.h text_t.h
|
---|
57 | fileutil.o: fileutil.h text_t.h
|
---|
58 | gsdlunicode.o: gsdlunicode.h text_t.h ../packages/mg-1.3d/lib/unitool.h
|
---|
59 | gsdlunicode.o: fileutil.h
|
---|
Note:
See
TracBrowser
for help on using the repository browser.