12 if [ "$1" == "both" ]; then
14 .make debug $@ && .make hybrid $@
17 elif [ "$1" == "both-uni" ]; then
19 .make debug-uni $@ && .make hybrid-uni $@
22 elif [ "$1" == "both-hybrid" ]; then
24 .make hybrid $@ && .make hybrid-uni $@
27 elif [ "$1" == "all" ]; then
31 .make debug-uni $@ && \
35 elif [ "$1" == "debug" ]; then
40 elif [ "$1" == "hybrid" ]; then
45 elif [ "$1" == "release" ]; then
50 elif [ "$1" == "debug-uni" ]; then
55 elif [ "$1" == "hybrid-uni" ]; then
60 elif [ "$1" == "release-uni" ]; then
66 echo "Invalid build type: $1 options are"
81 echo ------------------
82 echo cd $WXWIN/build/msw
84 nmake -f .makesetup.mk $WXWIN/lib/vc_dll/$WXLIBDIR/wx/setup.h
87 echo ------------------
88 echo cd $WXWIN/build/msw
90 $WXWIN/build/msw/.mymake $BUILD_TYPE $@
91 if [ ! $? = 0 ]; then error; fi
94 echo ------------------
95 echo cd ../../contrib/build/gizmos
96 cd ../../contrib/build/gizmos
97 $WXWIN/build/msw/.mymake $BUILD_TYPE $@
98 if [ ! $? = 0 ]; then error; fi
102 #echo ------------------
103 echo cd ../../contrib/build/animate
104 cd ../../contrib/build/animate
105 $WXWIN/build/msw/.mymake $BUILD_TYPE $@
106 if [ ! $? = 0 ]; then error; fi
110 echo ------------------
111 echo cd ../../contrib/build/stc
112 cd ../../contrib/build/stc
113 $WXWIN/build/msw/.mymake $BUILD_TYPE $@
114 if [ ! $? = 0 ]; then error; fi
118 # echo ------------------
119 # echo cd ../../contrib/build/ogl
120 # cd ../../contrib/build/ogl
121 # $WXWIN/build/msw/.mymake $BUILD_TYPE CPPFLAGS="-DwxUSE_DEPRECATED=0" $@
122 # if [ ! $? = 0 ]; then error; fi
127 echo -----------------
129 echo -----------------
130 # copy DLLs to a dir on the PATH
131 # copy /U $WXWIN/lib/vc_dll/*.dll $WXWIN/BIN
132 # copy /U $WXWIN/lib/vc_dll/*.pdb $WXWIN/BIN