@if not "%1" == ""  goto START
@ECHO    /****************************************************************/
@ECHO    /**                      make_ext                              **/
@ECHO    /**                                                            **/
@ECHO    /** make_ext  creates the Dislin extension dislin.so for Tcl.  **/
@ECHO    /**                                                            **/
@ECHO    /** Command:  make_ext tcl                                     **/
@ECHO    /**                                                            **/
@ECHO    /** The Dislin library disvcm_d.lib for Visual C++ is required.**/
@ECHO    /****************************************************************/
@goto ENDE
:START
@if %1 == tcl goto M0
@ECHO Bad Parameter
@goto ENDE
:M0
cl /c /Ic:\opt\tcl\include dislin.c
link -dll -out:dislin.so dislin.obj ..\disvcm_d.lib c:\opt\tcl\lib\tcl85.lib user32.lib gdi32.lib
:ENDE
