]> git.saurik.com Git - wxWidgets.git/blobdiff - src/makeprog.b32
Borland makefiles for contrib keeping output apart
[wxWidgets.git] / src / makeprog.b32
index 0b06ef64954db865787767324baffbfec78a92f2..cace6d6d9cfa47ffa9ec8a9b900fb5466a53cd1f 100644 (file)
@@ -26,10 +26,16 @@ IMGLIBS=
 IMGLIBS= png_$(DEBUG_SUFFIX) jpeg_$(DEBUG_SUFFIX) tiff_$(DEBUG_SUFFIX)
 !endif
 
+!if "$(FINAL)" == "0"
+EX_LIBS=$(EXTRALIBS:.lib=_d.lib)
+!else
+EX_LIBS=$(EXTRALIBS)
+!endif
+
 !if "$(WXUSINGDLL)" == "1"
-LIBS=$(WXLIB) $(EXTRALIBS) cw32mti import32 ole2w32 regex_$(DEBUG_SUFFIX) zlib_$(DEBUG_SUFFIX) $(IMGLIBS) 
+LIBS=$(WXLIB) $(EX_LIBS) cw32mti import32 ole2w32 regex_$(DEBUG_SUFFIX) zlib_$(DEBUG_SUFFIX) $(IMGLIBS) 
 !else
-LIBS=$(WXLIB) $(EXTRALIBS) cw32mt import32 ole2w32 regex_$(DEBUG_SUFFIX) zlib_$(DEBUG_SUFFIX) $(IMGLIBS)
+LIBS=$(WXLIB) $(EX_LIBS) cw32mt import32 ole2w32 regex_$(DEBUG_SUFFIX) zlib_$(DEBUG_SUFFIX) $(IMGLIBS)
 !endif
 
 !if "$(wxUSE_ODBC)" == "1"