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 /GF /Gy -GX -GR -I..\..\..\..\ /DBOOST_LIB_DIAGNOSTIC=1 $(CXXFLAGS) |
---|
24 | |
---|
25 | LFLAGS= -link /LIBPATH:..\..\..\..\stage\lib /LIBPATH:..\..\build\vc6 user32.lib $(XLFLAGS) |
---|
26 | |
---|
27 | all :: r1-vc6.exe r2-vc6.exe r3-vc6.exe r4-vc6.exe r5-vc6.exe r6-vc6.exe r7-vc6.exe r8-vc6.exe |
---|
28 | r1-vc6 |
---|
29 | r2-vc6 |
---|
30 | r3-vc6 |
---|
31 | r4-vc6 |
---|
32 | r5-vc6 |
---|
33 | r6-vc6 |
---|
34 | -copy ..\..\build\vc6\boost_regex*.dll |
---|
35 | -copy ..\..\..\..\stage\lib\boost_regex*.dll |
---|
36 | r7-vc6 |
---|
37 | r8-vc6 |
---|
38 | |
---|
39 | r1-vc6.exe : |
---|
40 | cl /ML $(CFLAGS) /O2 -o r1-vc6.exe $(SOURCES) $(LFLAGS) |
---|
41 | |
---|
42 | r2-vc6.exe : |
---|
43 | cl /MLd $(CFLAGS) -o r2-vc6.exe $(SOURCES) $(LFLAGS) |
---|
44 | |
---|
45 | r3-vc6.exe : |
---|
46 | cl /MT $(CFLAGS) /O2 -o r3-vc6.exe $(SOURCES) $(LFLAGS) |
---|
47 | |
---|
48 | r4-vc6.exe : |
---|
49 | cl /MTd $(CFLAGS) -o r4-vc6.exe $(SOURCES) $(LFLAGS) |
---|
50 | |
---|
51 | r5-vc6.exe : |
---|
52 | cl /MD $(CFLAGS) /O2 -o r5-vc6.exe $(SOURCES) $(LFLAGS) |
---|
53 | |
---|
54 | r6-vc6.exe : |
---|
55 | cl /MDd $(CFLAGS) -o r6-vc6.exe $(SOURCES) $(LFLAGS) |
---|
56 | |
---|
57 | r7-vc6.exe : |
---|
58 | cl /MD $(CFLAGS) /O2 /DBOOST_ALL_DYN_LINK -o r7-vc6.exe $(SOURCES) $(LFLAGS) |
---|
59 | |
---|
60 | r8-vc6.exe : |
---|
61 | cl /MDd $(CFLAGS) /DBOOST_ALL_DYN_LINK -o r8-vc6.exe $(SOURCES) $(LFLAGS) |
---|
62 | |
---|
63 | |
---|
Note: See
TracBrowser
for help on using the repository browser.