Line | |
---|
1 | |
---|
2 | # very basic makefile for regression tests |
---|
3 | # |
---|
4 | # Visual C++ 6 |
---|
5 | # |
---|
6 | # |
---|
7 | # Add additional compiler options here: |
---|
8 | # |
---|
9 | CXXFLAGS= |
---|
10 | # |
---|
11 | # Add additional include directories here: |
---|
12 | # |
---|
13 | INCLUDES= |
---|
14 | # |
---|
15 | # add additional linker flags here: |
---|
16 | # |
---|
17 | XLFLAGS= |
---|
18 | # |
---|
19 | # sources to compile for each test: |
---|
20 | # |
---|
21 | SOURCES=*.cpp |
---|
22 | |
---|
23 | CFLAGS= $(INCLUDES) /Zm400 /O2 /GB /GF /Gy -GX -GR -I..\..\..\..\ $(CXXFLAGS) /DBOOST_LIB_DIAGNOSTIC=1 /Zc:wchar_t |
---|
24 | |
---|
25 | LFLAGS= -link /LIBPATH:..\..\..\..\stage\lib /LIBPATH:..\..\build\vc7 $(XLFLAGS) |
---|
26 | |
---|
27 | all :: r1-vc7.exe r2-vc7.exe r3-vc7.exe r4-vc7.exe r5-vc7.exe r6-vc7.exe r7-vc7.exe r8-vc7.exe |
---|
28 | r1-vc7 |
---|
29 | r2-vc7 |
---|
30 | r3-vc7 |
---|
31 | r4-vc7 |
---|
32 | r5-vc7 |
---|
33 | r6-vc7 |
---|
34 | -copy ..\..\build\vc7\boost_regex*.dll |
---|
35 | -copy ..\..\..\..\stage\lib\boost_regex*.dll |
---|
36 | r7-vc7 |
---|
37 | r8-vc7 |
---|
38 | |
---|
39 | r1-vc7.exe : |
---|
40 | cl /ML $(CFLAGS) /O2 -o r1-vc7.exe $(SOURCES) $(LFLAGS) |
---|
41 | |
---|
42 | r2-vc7.exe : |
---|
43 | cl /MLd $(CFLAGS) -o r2-vc7.exe $(SOURCES) $(LFLAGS) |
---|
44 | |
---|
45 | r3-vc7.exe : |
---|
46 | cl /MT $(CFLAGS) /O2 -o r3-vc7.exe $(SOURCES) $(LFLAGS) |
---|
47 | |
---|
48 | r4-vc7.exe : |
---|
49 | cl /MTd $(CFLAGS) -o r4-vc7.exe $(SOURCES) $(LFLAGS) |
---|
50 | |
---|
51 | r5-vc7.exe : |
---|
52 | cl /MD $(CFLAGS) /O2 -o r5-vc7.exe $(SOURCES) $(LFLAGS) |
---|
53 | |
---|
54 | r6-vc7.exe : |
---|
55 | cl /MDd $(CFLAGS) -o r6-vc7.exe $(SOURCES) $(LFLAGS) |
---|
56 | |
---|
57 | r7-vc7.exe : |
---|
58 | cl /MD $(CFLAGS) /O2 /DBOOST_ALL_DYN_LINK -o r7-vc7.exe $(SOURCES) $(LFLAGS) |
---|
59 | |
---|
60 | r8-vc7.exe : |
---|
61 | cl /MDd $(CFLAGS) /DBOOST_ALL_DYN_LINK -o r8-vc7.exe $(SOURCES) $(LFLAGS) |
---|
62 | |
---|
63 | |
---|
Note: See
TracBrowser
for help on using the repository browser.