X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6adaedf0fc6607ee5bb4e86358396e5e07c6649f..300b1288331acc7ac3482595bb226a52f8aec238:/src/makeprog.vc diff --git a/src/makeprog.vc b/src/makeprog.vc index e938d7c78c..5cf84b6a95 100644 --- a/src/makeprog.vc +++ b/src/makeprog.vc @@ -11,7 +11,7 @@ # info # Set WXDIR for your system -WXDIR = $(WXWIN) +WXDIR = j:\dev\wx2\wxWindows WXUSINGDLL=0 @@ -29,14 +29,17 @@ wxclean: nmake -f makefile.vc clean # cd $(THISDIR) -$(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(OBJECTS) +$(PROGRAM).exe: $(DUMMYOBJ) $(WXLIB) $(OBJECTS) $(PROGRAM).res $(link) @<< -out:$(PROGRAM).exe $(LINKFLAGS) -$(DUMMYOBJ) $(OBJECTS) +$(DUMMYOBJ) $(OBJECTS) $(PROGRAM).res $(LIBS) << +$(PROGRAM).res : $(PROGRAM).rc $(WXDIR)\include\wx\msw\wx.rc + $(rc) -r /i$(WXDIR)\include -fo$@ $(PROGRAM).rc + clean: -erase $(OBJECTS) -erase *.exe