]> git.saurik.com Git - wxWidgets.git/commitdiff
Doesn't overwrite setup.h now
authorJulian Smart <julian@anthemion.co.uk>
Thu, 18 Feb 1999 15:12:41 +0000 (15:12 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Thu, 18 Feb 1999 15:12:41 +0000 (15:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/makefile.vc

index 1d626d92040b854da1bae595c240fd1f731ecb84..e47d172a72dd139a53789955a47633595e4d5040 100644 (file)
@@ -357,8 +357,9 @@ $(CPPFLAGS) $(MAKEPRECOMP) /Fo$D\dummydll.obj /c /Tp dummydll.cpp
 
 # If taking wxWindows from CVS, setup.h doesn't exist yet.
 $(WXDIR)\include\wx\msw\setup.h: $(WXDIR)\include\wx\msw\setup0.h
-    -copy "$(WXDIR)"\include\wx\msw\setup.h "$(WXDIR)"\include\wx\msw\setup.bak
-    if not exist "$(WXDIR)"\include\wx\msw\setup.h copy "$(WXDIR)"\include\wx\msw\setup0.h "$(WXDIR)"\include\wx\msw\setup.h 
+    cd "$(WXDIR)"\include\wx\msw
+    if not exist setup.h copy setup0.h setup.h
+    cd "$(WXDIR)"\src\msw
 
 ..\common\$D\extended.obj:     ..\common\extended.c
         cl @<<