Changeset 20


Ignore:
Timestamp:
Aug 21, 2006 10:36:12 PM (13 years ago)
Author:
ladanyi
Message:

run_autotools result

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Bonmin/experimental/Bcp/Makefile.in

    r18 r20  
    650650
    651651amplsolver.a:
    652         mkdir -p solvers ; \
     652        rm -rf solvers ; \
     653        mkdir solvers ; \
    653654        cd solvers ; \
    654         for f in $(AMPL_SRC)/*.c* $(AMPL_SRC)/*.h*; do \
    655                 $(LN_S) $$f ; \
     655        aslmakeflags=`grep '^ASLMAKEFLAGS' ../../../../ThirdParty/ASL/Makefile | sed -e 's/ASLMAKEFLAGS = //' -e 's/CFLAGS="/CFLAGS="-DNO_FUNCADD /'` ; \
     656        files=`cd $(AMPL_SRC); ls *.[chs]* makefile* `; \
     657        for f in $$files ; do \
     658                $(LN_S) $(AMPL_SRC)/$$f $$f; \
    656659        done ; \
    657660        for f in $(AMPL_PATHED_FILES); do \
     
    670673                rm $$f.orig ; \
    671674        done ; \
    672         sed -e 's/CFLAGS =/CFLAGS = -DNO_FUNCADD/g' $(AMPL_SRC)/makefile.u > makefile.u ; \
    673         $(MAKE) -f makefile.u ; \
     675        $(MAKE) CC=$(CC) -j 1 CFLAGS="-DNO_FUNCADD `grep '^ASLMAKEFLAGS' ../../../../ThirdParty/ASL/Makefile | sed -e 's/^.*CFLAGS=\"//' -e 's/\"$//'`" -f makefile.u ; \
    674676        cp amplsolver.a ..
    675677# Tell versions [3.59,3.63) of GNU make to not export all variables.
Note: See TracChangeset for help on using the changeset viewer.