]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/distrib/msw/.make
Tree-Comment.png
[wxWidgets.git] / wxPython / distrib / msw / .make
index a8093c816a1234e38958001a7ec75a6cc6d99539..3625f944e551e5ee94932f06bd8ef37b18d816fa 100644 (file)
@@ -1,5 +1,6 @@
 #!/bin/bash
 
+# set -o xtrace
 
 function error {
     echo -----------------
@@ -82,36 +83,36 @@ echo ------------------
 echo cd $WXWIN/build/msw
 cd $WXWIN/build/msw
 nmake -f .makesetup.mk $WXWIN/lib/vc_dll/$WXLIBDIR/wx/setup.h
-
+if [ ! $? = 0 ]; then error 2; fi
 
 echo ------------------
 echo cd $WXWIN/build/msw
 cd $WXWIN/build/msw
 $WXWIN/build/msw/.mymake $BUILD_TYPE $@
-if [ ! $? = 0 ]; then error; fi
+if [ ! $? = 0 ]; then error 2; fi
 
 
 echo ------------------
 echo cd ../../contrib/build/gizmos
 cd ../../contrib/build/gizmos
 $WXWIN/build/msw/.mymake $BUILD_TYPE $@
-if [ ! $? = 0 ]; then error; fi
+if [ ! $? = 0 ]; then error 2; fi
 cd -
 
 
-#echo ------------------
-echo cd ../../contrib/build/animate
-cd ../../contrib/build/animate
-$WXWIN/build/msw/.mymake $BUILD_TYPE $@
-if [ ! $? = 0 ]; then error; fi
-cd -
+# echo ------------------
+echo cd ../../contrib/build/animate
+cd ../../contrib/build/animate
+$WXWIN/build/msw/.mymake $BUILD_TYPE $@
+# if [ ! $? = 0 ]; then error 2; fi
+cd -
 
 
 echo ------------------
 echo cd ../../contrib/build/stc
 cd ../../contrib/build/stc
 $WXWIN/build/msw/.mymake $BUILD_TYPE $@
-if [ ! $? = 0 ]; then error; fi
+if [ ! $? = 0 ]; then error 2; fi
 cd -
 
 
@@ -119,7 +120,7 @@ cd -
 # echo cd ../../contrib/build/ogl
 # cd ../../contrib/build/ogl
 # $WXWIN/build/msw/.mymake $BUILD_TYPE CPPFLAGS="-DwxUSE_DEPRECATED=0" $@
-# if [ ! $? = 0 ]; then error; fi
+# if [ ! $? = 0 ]; then error 2; fi
 # cd -