X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7a9f270ffca6d950c90e85e06880fbe4f6c3baa8..065ab451bf9bcf7986049ff82b8b456ecc559aa4:/src/makeprog.b32 diff --git a/src/makeprog.b32 b/src/makeprog.b32 index 1d8d5f2629..59592513ea 100644 --- a/src/makeprog.b32 +++ b/src/makeprog.b32 @@ -51,12 +51,12 @@ LINKOUT = /aa !if "$(FINAL)" == "0" #LINKFLAGS=/v /c /Tpe $(LNKCFG) $(EXTRALINKFLAGS) -LINKFLAGS=/v /c $(LINKOUT) -L$(WXLIBDIR);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk $(EXTRALINKFLAGS) +LINKFLAGS=/v /c $(LINKOUT) -L"$(WXLIBDIR);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk" $(EXTRALINKFLAGS) OPT = -Od DEBUG_FLAGS= -v !else #LINKFLAGS=/Tpe +$(LNKCFG) $(EXTRALINKFLAGS) -LINKFLAGS=$(LINKOUT) -L$(WXLIBDIR);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk $(EXTRALINKFLAGS) +LINKFLAGS=$(LINKOUT) -L"$(WXLIBDIR);$(BCCDIR)\lib;$(BCCDIR)\lib\psdk" $(EXTRALINKFLAGS) OPT = -Od DEBUG_FLAGS = !endif @@ -101,8 +101,11 @@ $(TARGETRES) .c.obj: bcc32 $(CPPFLAGS) -P- -c -n$(EXEDIR) {$< } +!if "$(wxUSE_GUI)" != "0" +#make resources only with GUI apps $(TARGETRES) : $(TARGET).rc $(WXDIR)\include\wx\msw\wx.rc brc32 -r /i$(BCCDIR)\include /i$(WXDIR)\include /i$(WXDIR)\contrib\include -fo$(EXEDIR)\$(