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

Last change on this file since 22832 was 22832, checked in by mdewsnip, 11 years ago

Lots of improvements, particularly to Windows makefiles.

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
12RUNTIME_SRC_DIR = ..\..
13GSDL_DIR = $(RUNTIME_SRC_DIR)\..
14
15
16# Libraries compiled
17LIBRARIES = libgsdlprotocol.lib
18
19# Library: libgsdlprotocol.lib
20# Do NOT add the "recpt" directory here: the protocol should be independent of the receptionist!
21LIBPROTOCOL_CPPFLAGS = \
22 -I"$(GSDL_DIR)\common-src\src\lib" \
23 -I"$(GSDL_DIR)\runtime-src\src\colservr"
24
25LIBPROTOCOL_OBJECTS = \
26 nullproto.obj \
27 recptproto.obj \
28 recptprototools.obj
29
30
31COMPILE = $(CPP) -nologo -c -EHsc -D__WIN32__ -DXML_STATIC -D_CRT_SECURE_NO_DEPRECATE $(LIBPROTOCOL_CPPFLAGS)
32
33.SUFFIXES:
34.SUFFIXES: .cpp .obj
35
36.cpp.obj:
37 $(COMPILE) $<
38
39
40libgsdlprotocol.lib: $(LIBPROTOCOL_OBJECTS)
41 if EXIST libgsdlprotocol.lib del libgsdlprotocol.lib
42 lib -nologo /out:libgsdlprotocol.lib $(LIBPROTOCOL_OBJECTS)
43
44all: $(LIBRARIES)
45
46install: $(LIBRARIES)
47
48clean:
49 if EXIST *.obj del *.obj
50 if EXIST $(LIBRARIES) del $(LIBRARIES)
Note: See TracBrowser for help on using the repository browser.