source: main/trunk/gs2-core/runtime-src/src/protocol/win32.mak@ 22740

Last change on this file since 22740 was 22740, checked in by mdewsnip, 12 years ago

Changing all the configure scripts and makefiles I created (from scratch, to use autoconf and automake) to have my name and copyright DL Consulting Ltd.

File size: 1.1 KB
Line 
1###########################################################################
2#
3# win32.mak -- Windows Makefile for runtime-src\src\protocol
4#
5# By Michael Dewsnip
6#
7# Copyright (C) 2010 DL Consulting Ltd.
8#
9###########################################################################
10
11
12GSDL_DIR = $(GSDLHOME)
13
14
15# Libraries compiled
16LIBRARIES = gsdlprotocol.lib
17
18# Library: gsdlprotocol.lib
19# Do NOT add the "recpt" directory here: the protocol should be independent of the receptionist!
20LIBPROTOCOL_CPPFLAGS = \
21 -I"$(GSDL_DIR)\common-src\src\lib" \
22 -I"$(GSDL_DIR)\runtime-src\src\colservr"
23
24LIBPROTOCOL_OBJECTS = \
25 nullproto.obj \
26 recptproto.obj \
27 recptprototools.obj
28
29
30COMPILE = cl -nologo -c -EHsc -D__WIN32__ -DXML_STATIC -D_CRT_SECURE_NO_DEPRECATE $(LIBPROTOCOL_CPPFLAGS)
31LINK = cl -nologo -Fe"$@"
32
33.SUFFIXES:
34.SUFFIXES: .cpp .obj
35
36.cpp.obj:
37 $(COMPILE) $<
38
39
40gsdlprotocol.lib: $(LIBPROTOCOL_OBJECTS)
41 if EXIST gsdlprotocol.lib del gsdlprotocol.lib
42 lib -nologo /out:gsdlprotocol.lib $(LIBPROTOCOL_OBJECTS)
43
44all: $(LIBRARIES)
45
46install: $(LIBRARIES)
47
48distclean:
49 del *.obj $(LIBRARIES) win32.mak
50
51clean:
52 del *.obj $(LIBRARIES)
Note: See TracBrowser for help on using the repository browser.