Changeset 2002 in Sophya


Ignore:
Timestamp:
May 14, 2002, 5:14:47 PM (23 years ago)
Author:
ansari
Message:

Correction pb mkmflib , remplacement ls par ls -1 - Reza 14/5/2002

Location:
trunk/SophyaLib/Mgr
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SophyaLib/Mgr/mkmfPI

    r1834 r2002  
    11#!/bin/csh
    2 # $Id: mkmfPI,v 1.8 2001-12-19 18:34:11 ansari Exp $
     2# $Id: mkmfPI,v 1.9 2002-05-14 15:14:47 ansari Exp $
    33
    44set makefname = 'GNUmakefile'
     
    1717rm -f $liblist
    1818touch $liblist
    19 ls *.{c,cc} | comm -3 -1 $TMPDIR/exclude.sort - | sed -e 's/\.cc/.o/' | sed -e 's/\.c/.o/' >> $liblist
     19ls -1 *.{c,cc} | comm -3 -1 $TMPDIR/exclude.sort - | sed -e 's/\.cc/.o/' | sed -e 's/\.c/.o/' >> $liblist
    2020unset liblist
    2121
     
    4848echo " " >> $makefname
    4949
    50 set ccfiles  = `ls *.cc *.c | comm -3 -1 $TMPDIR/exclude.sort -`
    51 set objfiles = `ls *.cc *.c | comm -3 -1 $TMPDIR/exclude.sort - | sed -e 's/\.cc/.o/g' | sed -e 's/\.c/.o/' | sed -e 's/^/$(OBJ)/'`
     50set ccfiles  = `ls -1 *.cc *.c | comm -3 -1 $TMPDIR/exclude.sort -`
     51set objfiles = `ls -1 *.cc *.c | comm -3 -1 $TMPDIR/exclude.sort - | sed -e 's/\.cc/.o/g' | sed -e 's/\.c/.o/' | sed -e 's/^/$(OBJ)/'`
    5252
    5353rm -f $TMPDIR/exclude.sort
  • trunk/SophyaLib/Mgr/mkmflib

    r1797 r2002  
    11#!/bin/csh
    2 # $Id: mkmflib,v 1.10 2001-11-27 21:19:36 aubourg Exp $
     2# $Id: mkmflib,v 1.11 2002-05-14 15:14:47 ansari Exp $
    33
    44cd ../$1
     
    1919rm -f $liblist
    2020touch $liblist
    21 ls *.{c,cc} | comm -3 -1 $TMPDIR/exclude.sort - | sed -e 's/\.cc/.o/' | sed -e 's/\.c/.o/' >> $liblist
     21ls -1 *.{c,cc} | comm -3 -1 $TMPDIR/exclude.sort - | sed -e 's/\.cc/.o/' | sed -e 's/\.c/.o/' >> $liblist
    2222unset liblist
    2323
     
    5656
    5757echo $libf ':' \
    58  `ls *.{c,cc} | comm -3 -1 $TMPDIR/exclude.sort - | sed -e 's/\.cc/.o/' | sed -e 's/\.c/.o/' | sed -e 's/^/$(OBJ)/'` >> GNUmakefile
     58 `ls -1 *.{c,cc} | comm -3 -1 $TMPDIR/exclude.sort - | sed -e 's/\.cc/.o/' | sed -e 's/\.c/.o/' | sed -e 's/^/$(OBJ)/'` >> GNUmakefile
    5959echo '  $(ARCXX) $(ARCXXFLAGS) $@ $($(ARARGS))' >> GNUmakefile
    6060#  Pour faire compiler les instantiations automatique de cxx (DEC)
Note: See TracChangeset for help on using the changeset viewer.