Changeset 1128 in svn
- Timestamp:
- May 28, 2013, 11:10:23 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile
r1123 r1128 136 136 external/ExRootAnalysis/ExRootTreeBranch.h \ 137 137 external/ExRootAnalysis/ExRootProgressBar.h 138 Example1$(ExeSuf): \ 139 tmp/examples/Example1.$(ObjSuf) 140 141 tmp/examples/Example1.$(ObjSuf): \ 142 examples/Example1.cpp \ 143 classes/DelphesClasses.h \ 144 external/ExRootAnalysis/ExRootTreeReader.h \ 145 external/ExRootAnalysis/ExRootTreeWriter.h \ 146 external/ExRootAnalysis/ExRootTreeBranch.h \ 147 external/ExRootAnalysis/ExRootResult.h \ 148 external/ExRootAnalysis/ExRootUtilities.h 138 149 EXECUTABLE = \ 139 150 DelphesLHEF$(ExeSuf) \ … … 145 156 stdhep2pileup$(ExeSuf) \ 146 157 hepmc2pileup$(ExeSuf) \ 147 pileup2root$(ExeSuf) 158 pileup2root$(ExeSuf) \ 159 Example1$(ExeSuf) 148 160 149 161 EXECUTABLE_OBJ = \ … … 156 168 tmp/converters/stdhep2pileup.$(ObjSuf) \ 157 169 tmp/converters/hepmc2pileup.$(ObjSuf) \ 158 tmp/converters/pileup2root.$(ObjSuf) 170 tmp/converters/pileup2root.$(ObjSuf) \ 171 tmp/examples/Example1.$(ObjSuf) 159 172 160 173 tmp/classes/ClassesDict.$(SrcSuf): \ -
trunk/doc/genMakefile.tcl
r1127 r1128 31 31 } 32 32 } 33 33 34 34 if {[llength $list] > 0} { 35 35 puts -nonewline $firstLine … … 49 49 } 50 50 51 close $fid 51 close $fid 52 52 } 53 53 … … 57 57 58 58 set dict [eval glob -nocomplain $args] 59 59 60 60 set dictSrcFiles {} 61 61 set dictObjFiles {} … … 64 64 regsub {LinkDef\.h} $fileName {Dict} dictName 65 65 set dictName $prefix$dictName 66 66 67 67 lappend dictSrcFiles $dictName$srcSuf 68 68 lappend dictObjFiles $dictName$objSuf 69 69 70 70 dependencies $fileName "$dictName$srcSuf:$suffix$fileName" 71 71 } 72 72 73 73 puts -nonewline "${dictVar} = $suffix" 74 74 puts [join $dictSrcFiles $suffix] … … 84 84 85 85 global prefix suffix srcSuf objSuf 86 86 87 87 set source [eval glob -nocomplain $args] 88 88 89 89 set srcObjFiles {} 90 90 91 91 foreach fileName $source { 92 92 regsub {\.cc} $fileName {} srcName 93 93 set srcObjName $prefix$srcName 94 94 95 95 lappend srcObjFiles $srcObjName$objSuf 96 96 97 97 dependencies $fileName "$srcObjName$objSuf:$suffix$srcName$srcSuf" 98 98 } … … 106 106 107 107 global prefix suffix srcSuf objSuf 108 108 109 109 set source [glob -nocomplain {external/tcl/*.c}] 110 110 111 111 set srcObjFiles {} 112 112 113 113 foreach fileName $source { 114 114 if {$fileName == "tcl/tclc.c" || $fileName == "tcl/tcl.c"} continue 115 115 116 116 regsub {\.c} $fileName {} srcName 117 117 set srcObjName $prefix$srcName 118 118 119 119 lappend srcObjFiles $srcObjName$objSuf 120 120 121 121 dependencies $fileName "$srcObjName$objSuf:$suffix$fileName" 122 122 } 123 123 124 124 puts -nonewline "TCL_OBJ = $suffix" 125 125 puts [join $srcObjFiles $suffix] … … 130 130 131 131 global prefix suffix objSuf exeSuf 132 132 133 133 set executable [glob -nocomplain {readers/*.cpp} {converters/*.cpp} {examples/*.cpp}] 134 134 135 135 set exeFiles {} 136 136 137 137 foreach fileName $executable { 138 138 if {$fileName == "examples/DelphesCMSFWLite.cpp"} continue … … 144 144 lappend exeFiles $exeName$exeSuf 145 145 lappend exeObjFiles $exeObjName$objSuf 146 146 147 147 puts "$exeName$exeSuf:$suffix$exeObjName$objSuf" 148 148 puts "" 149 149 150 150 dependencies $fileName "$exeObjName$objSuf:$suffix$fileName" 151 151 } 152 152 153 153 if [info exists exeFiles] { 154 154 puts -nonewline "EXECUTABLE = $suffix" … … 166 166 proc headerDeps {} { 167 167 global suffix headerFiles 168 168 169 169 foreach fileName [array names headerFiles] { 170 170 dependencies $fileName "$fileName:" 0 "\t@touch \$@"
Note:
See TracChangeset
for help on using the changeset viewer.