|
10 | 10 | !ifdef <%normalize(uc(compiler))%>
|
11 | 11 | CC = <%cc%>
|
12 | 12 | OPTIMIZE_CFLAGS = <%optimize_flags%>
|
| 13 | +PDB_FLAGS = <%pdb_flags%> |
13 | 14 | DEBUG_CFLAGS = <%debug_flags%>
|
14 | 15 | RELEASE_CFLAGS = <%release_flags%>
|
15 | 16 | CC_CFLAGS = <%ccflags%>
|
@@ -48,24 +49,25 @@ LINKER_EXE_ARGUMENTS = <%linker_exe_arguments%>
|
48 | 49 |
|
49 | 50 | <%foreach(configurations)%>
|
50 | 51 | !ifdef <%normalize(uc(configuration))%>
|
51 |
| -OCFLAGS = <%if(optimize)%>$(OPTIMIZE_CFLAGS)<%else%><%if(debug_prj)%> $(DEBUG_CFLAGS)<%foreach(debug_macros)%> -D<%debug_macro%><%endfor%><%endif%><%endif%><%foreach(defines)%> -D<%define%><%endfor%><%if(!debug_prj)%> $(RELEASE_CFLAGS)<%endif%> |
52 |
| -CFG_DIR = <%intermediate_dir%>\\ |
53 |
| -LIBMODIFIER = <%if(use_lib_modifier)%><%lib_modifier%><%endif%> |
54 |
| -EXEMODIFIER = <%if(use_exe_modifier)%><%lib_modifier%><%endif%> |
| 52 | +OCFLAGS = <%if(optimize)%>$(OPTIMIZE_CFLAGS) <%else%><%if(debug_prj)%>$(DEBUG_CFLAGS)<%foreach(debug_macros)%> -D<%debug_macro%><%endfor%><%endif%><%endif%><%foreach(defines)%> -D<%define%><%endfor%><%if(!debug_prj)%> $(RELEASE_CFLAGS)<%endif%> |
| 53 | +LFLAGS =<%if(debug_prj)%> $(PDB_FLAGS)<%endif%> |
| 54 | +CFG_DIR = <%intermediate_dir%>\\ |
| 55 | +LIBMODIFIER = <%if(use_lib_modifier)%><%lib_modifier%><%endif%> |
| 56 | +EXEMODIFIER = <%if(use_exe_modifier)%><%lib_modifier%><%endif%> |
55 | 57 | <%if(type_is_static)%>
|
56 |
| -STATIC_CFG = 1 |
| 58 | +STATIC_CFG = 1 |
57 | 59 | <%endif%>
|
58 | 60 | <%if(type_is_static || need_staticflags)%>
|
59 | 61 | <%if(staticflags)%>
|
60 | 62 | STATIC_FLAGS =<%foreach(staticflags)%> -D<%staticflag%><%endfor%>
|
61 | 63 | <%endif%>
|
62 | 64 | <%else%>
|
63 | 65 | <%if(dynamicflags)%>
|
64 |
| -DYN_FLAGS =<%foreach(dynamicflags)%> -D<%dynamicflag%><%endfor%> |
| 66 | +DYN_FLAGS =<%foreach(dynamicflags)%> -D<%dynamicflag%><%endfor%> |
65 | 67 | <%endif%>
|
66 | 68 | <%endif%>
|
67 | 69 | <%if(postlinkrmext)%>
|
68 |
| -POSTLINKRM = <%postlinkrmext%> |
| 70 | +POSTLINKRM = <%postlinkrmext%> |
69 | 71 | <%endif%>
|
70 | 72 | <%if(exename)%>
|
71 | 73 | EXEOUTPUTDIR = <%if(exeout)%><%exeout%><%if(windows_style)%>\<%output_dir("Debug")%><%endif%><%else%><%if(windows_style)%><%output_dir("Debug")%><%else%><%output_dir(".")%><%endif%><%endif%>\\
|
@@ -128,6 +130,7 @@ OBJFILES = \
|
128 | 130 | <%if(libpaths)%>
|
129 | 131 |
|
130 | 132 | LFLAGS = \
|
| 133 | + $(LFLAGS) \ |
131 | 134 | $(LINKER_PATHS) \
|
132 | 135 | <%if(debug_prj)%>
|
133 | 136 | -v \
|
|
0 commit comments