@if not "%1" == ""  goto START
@ECHO    /****************************************************************/
@ECHO    /**                      make_193                              **/
@ECHO    /**                                                            **/
@ECHO    /** make_193  creates the Dislin extension dislin.so for       **/
@ECHO    /**           Ruby 1.9.3                                       **/
@ECHO    /**                                                            **/
@ECHO    /** Command:  make_193 ruby                                    **/
@ECHO    /**                                                            **/
@ECHO    /** The Dislin library dismg_d.a for MinGW is required. The    **/
@ECHO    /** extension was created with gcc version 4.5.2 (tdm, 32-bit).**/
@ECHO    /****************************************************************/
@goto ENDE
:START
@if %1 == ruby goto M0
@ECHO Bad Parameter
@goto ENDE
:M0
gcc -Ic:\opt\ruby193\include\ruby-1.9.1 -Ic:\opt\ruby193\include\ruby-1.9.1\i386-mingw32 dislin.c -shared -o dislin.so -Lc:\opt\ruby193\lib -lmsvcrt-ruby191 c:\dislin\dismg_d.a -luser32 -lgdi32 -lopengl32
copy dislin.so dis_193.so
:ENDE
