source: ThirdParty/ASL/releases/1.0.3/compile_MS_ASL.in @ 879

Last change on this file since 879 was 72, checked in by andreasw, 14 years ago

several improvements for MSys

  • Property svn:executable set to *
File size: 472 bytes
Line 
1#!/bin/sh
2
3set -x
4mkinstalldirs="@install_sh@ -d"
5abs_source_dir=@abs_source_dir@
6libampl=@AMPLSOLVER_A@
7compdir=compdir
8
9rm -rf $compdir
10$mkinstalldirs $compdir
11files=`cd $abs_source_dir/solvers; ls *.[chs] *.[ch]0 *.hd arith.* makefile* *.bat amplsolv.lbc`
12cd $compdir
13for file in $files
14do
15  cp $abs_source_dir/solvers/$file $file;\
16done
17cp details.c0 details.c
18nmake -f makefile.vc
19mv amplsolv.lib ../$libampl
20mv stdio1.h arith.h funcadd0.obj ..
21cd ..
22rm -rf $compdir
Note: See TracBrowser for help on using the repository browser.