Last change
on this file was 22832, checked in by mdewsnip, 14 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 |
|
---|
12 | RUNTIME_SRC_DIR = ..\..
|
---|
13 | GSDL_DIR = $(RUNTIME_SRC_DIR)\..
|
---|
14 |
|
---|
15 |
|
---|
16 | # Libraries compiled
|
---|
17 | LIBRARIES = libgsdlprotocol.lib
|
---|
18 |
|
---|
19 | # Library: libgsdlprotocol.lib
|
---|
20 | # Do NOT add the "recpt" directory here: the protocol should be independent of the receptionist!
|
---|
21 | LIBPROTOCOL_CPPFLAGS = \
|
---|
22 | -I"$(GSDL_DIR)\common-src\src\lib" \
|
---|
23 | -I"$(GSDL_DIR)\runtime-src\src\colservr"
|
---|
24 |
|
---|
25 | LIBPROTOCOL_OBJECTS = \
|
---|
26 | nullproto.obj \
|
---|
27 | recptproto.obj \
|
---|
28 | recptprototools.obj
|
---|
29 |
|
---|
30 |
|
---|
31 | COMPILE = $(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 |
|
---|
40 | libgsdlprotocol.lib: $(LIBPROTOCOL_OBJECTS)
|
---|
41 | if EXIST libgsdlprotocol.lib del libgsdlprotocol.lib
|
---|
42 | lib -nologo /out:libgsdlprotocol.lib $(LIBPROTOCOL_OBJECTS)
|
---|
43 |
|
---|
44 | all: $(LIBRARIES)
|
---|
45 |
|
---|
46 | install: $(LIBRARIES)
|
---|
47 |
|
---|
48 | clean:
|
---|
49 | if EXIST *.obj del *.obj
|
---|
50 | if EXIST $(LIBRARIES) del $(LIBRARIES)
|
---|
Note:
See
TracBrowser
for help on using the repository browser.