]> git.saurik.com Git - wxWidgets.git/blobdiff - src/makeprog.vc
added datetime.h/cpp to filelist and regenerated the makefiles
[wxWidgets.git] / src / makeprog.vc
index e938d7c78cb54751f747d056fb22c3f6bb2fc471..5cf84b6a95d6df4a6fb1d3f1f9b32bffffa6ce0e 100644 (file)
@@ -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