Fork me on GitHub

Changeset ded7435 in git for doc


Ignore:
Timestamp:
May 28, 2013, 11:10:23 PM (11 years ago)
Author:
pavel <pavel@…>
Branches:
ImprovedOutputFile, Timing, dual_readout, llp, master
Children:
84a1f7d
Parents:
090fe5e
Message:

update Makefile

File:
1 edited

Legend:

Unmodified
Added
Removed
  • doc/genMakefile.tcl

    r090fe5e rded7435  
    3131    }
    3232  }
    33  
     33
    3434  if {[llength $list] > 0} {
    3535    puts -nonewline $firstLine
     
    4949  }
    5050
    51   close $fid 
     51  close $fid
    5252}
    5353
     
    5757
    5858  set dict [eval glob -nocomplain $args]
    59  
     59
    6060  set dictSrcFiles {}
    6161  set dictObjFiles {}
     
    6464    regsub {LinkDef\.h} $fileName {Dict} dictName
    6565    set dictName $prefix$dictName
    66  
     66
    6767    lappend dictSrcFiles $dictName$srcSuf
    6868    lappend dictObjFiles $dictName$objSuf
    69  
     69
    7070    dependencies $fileName "$dictName$srcSuf:$suffix$fileName"
    7171  }
    72  
     72
    7373  puts -nonewline "${dictVar} = $suffix"
    7474  puts [join $dictSrcFiles $suffix]
     
    8484
    8585  global prefix suffix srcSuf objSuf
    86  
     86
    8787  set source [eval glob -nocomplain $args]
    88    
     88
    8989  set srcObjFiles {}
    90  
     90
    9191  foreach fileName $source {
    9292    regsub {\.cc} $fileName {} srcName
    9393    set srcObjName $prefix$srcName
    94  
     94
    9595    lappend srcObjFiles $srcObjName$objSuf
    96  
     96
    9797    dependencies $fileName "$srcObjName$objSuf:$suffix$srcName$srcSuf"
    9898  }
     
    106106
    107107  global prefix suffix srcSuf objSuf
    108    
     108
    109109  set source [glob -nocomplain {external/tcl/*.c}]
    110  
     110
    111111  set srcObjFiles {}
    112  
     112
    113113  foreach fileName $source {
    114114    if {$fileName == "tcl/tclc.c" || $fileName == "tcl/tcl.c"} continue
    115  
     115
    116116    regsub {\.c} $fileName {} srcName
    117117    set srcObjName $prefix$srcName
    118  
     118
    119119    lappend srcObjFiles $srcObjName$objSuf
    120  
     120
    121121    dependencies $fileName "$srcObjName$objSuf:$suffix$fileName"
    122122  }
    123  
     123
    124124  puts -nonewline "TCL_OBJ = $suffix"
    125125  puts [join $srcObjFiles $suffix]
     
    130130
    131131  global prefix suffix objSuf exeSuf
    132    
     132
    133133  set executable [glob -nocomplain {readers/*.cpp} {converters/*.cpp} {examples/*.cpp}]
    134  
     134
    135135  set exeFiles {}
    136  
     136
    137137  foreach fileName $executable {
    138138    if {$fileName == "examples/DelphesCMSFWLite.cpp"} continue
     
    144144    lappend exeFiles $exeName$exeSuf
    145145    lappend exeObjFiles $exeObjName$objSuf
    146    
     146
    147147    puts "$exeName$exeSuf:$suffix$exeObjName$objSuf"
    148148    puts ""
    149  
     149
    150150    dependencies $fileName "$exeObjName$objSuf:$suffix$fileName"
    151151  }
    152  
     152
    153153  if [info exists exeFiles] {
    154154    puts -nonewline "EXECUTABLE = $suffix"
     
    166166proc headerDeps {} {
    167167  global suffix headerFiles
    168    
     168
    169169  foreach fileName [array names headerFiles] {
    170170    dependencies $fileName "$fileName:" 0 "\t@touch \$@"
Note: See TracChangeset for help on using the changeset viewer.