Ignore:
Timestamp:
Oct 24, 2022 1:45:40 PM (8 months ago)
Author:
toby
Message:

minor cell merge fmt and NIST*LATTICE build changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/fsource/SConstruct

    r5355 r5356  
    382382        installcmd = "copy $TARGET " + InstallLoc
    383383    else:
    384         installcmd = "cp $TARGET " + InstallLoc
     384        installcmd = "cp -p $TARGET " + InstallLoc
    385385    return [cmd, installcmd]
    386386env.Append(BUILDERS = {'nist' : Builder(generator = generate_nist)},)
     
    423423    filename = str(lib[0])
    424424
    425 # NIST*LATTICE programs
    426 for src in 'LATTIC.f','convcell.f':
    427     target = os.path.splitext(src)[0] + EXEsuffix
    428     out = env.nist(target,src)
    429     Clean(out, target)
    430     Depends(target, NISTlib) # make sure library is rebuilt if old
    431 
    432425# find modules that need to be built
    433426modlist = []
     
    439432    Depends(target, liblist) # make sure libraries are rebuilt if old
    440433    modlist.append(out[0].name)
     434
     435# NIST*LATTICE programs
     436for src in 'LATTIC.f','convcell.f':
     437    target = os.path.splitext(src)[0] + EXEsuffix
     438    out = env.nist(target,src)
     439    Clean(out, target)
     440    Depends(target, NISTlib) # make sure library is rebuilt if old   
    441441#==========================================================================================
    442442# all done with setup, show the user the options and let scons do the work
Note: See TracChangeset for help on using the changeset viewer.