source: trunk/gsdl/lib/win32.mak@ 943

Last change on this file since 943 was 743, checked in by sjboddie, 25 years ago

first attempt at a windows makefile

  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 2.0 KB
Line 
1###########################################################################
2#
3# win32 makefile -- lib
4# A component of the Greenstone digital library software
5# from the New Zealand Digital Library Project at the
6# University of Waikato, New Zealand.
7#
8# Copyright (C) 1999 The New Zealand Digital Library Project
9#
10#
11# This program is free software; you can redistribute it and/or modify
12# it under the terms of the GNU General Public License as published by
13# the Free Software Foundation; either version 2 of the License, or
14# (at your option) any later version.
15#
16# This program is distributed in the hope that it will be useful,
17# but WITHOUT ANY WARRANTY; without even the implied warranty of
18# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19# GNU General Public License for more details.
20#
21# You should have received a copy of the GNU General Public License
22# along with this program; if not, write to the Free Software
23# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
24#
25###########################################################################
26
27AR = lib
28CC = cl
29CPPFLAGS =
30DEFS = -DQUIET -D__WIN32__ -D_LITTLE_ENDIAN -DGSDL_NAMESPACE_BROKEN \
31 -DSHORT_SUFFIX -DPARADOCNUM -DHAVE_CONFIG_H -D__STL_NO_NEW_IOSTREAMS
32INCLUDES = -I../packages/mg/lib -I f:\STLport-3.2\stlport
33
34COMPILE = $(CC) -c $(CPPFLAGS) $(DEFS) $(INCLUDES)
35
36.SUFFIXES:
37.SUFFIXES: .c .obj
38.c.obj:
39 $(COMPILE) $<
40
41.SUFFIXES: .cpp .obj
42.cpp.obj:
43 $(COMPILE) $<
44
45
46HEADERS = \
47 cfgread.h fileutil.h gsdlunicode.h text_t.h \
48 display.h gsdlconf.h gsdltimes.h
49
50SOURCES = \
51 cfgread.cpp fileutil.cpp text_t.cpp \
52 display.cpp gsdlunicode.cpp gsdltimes.cpp
53
54OBJECTS = \
55 cfgread.obj fileutil.obj text_t.obj \
56 display.obj gsdlunicode.obj gsdltimes.obj
57
58all: gsdllib.lib
59
60GSDLLIBOBJECTS = $(OBJECTS)
61
62gsdllib.lib : $(GSDLLIBOBJECTS)
63 del gsdllib.lib
64 $(AR) /out:gsdllib.lib $(GSDLLIBOBJECTS)
65
66clean:
67 del *.obj
68 del gsdllib.lib
69
70install:
Note: See TracBrowser for help on using the repository browser.