comparison mkoctfile.in @ 5199:16a6247730d9

[project @ 2005-03-10 20:24:45 by jwe]
author jwe
date Thu, 10 Mar 2005 20:24:45 +0000
parents f0f3ccba4388
children fe5ee25a5e6c
comparison
equal deleted inserted replaced
5198:083039a30a3f 5199:16a6247730d9
126 -LDIR Add -LDIR to link command. 126 -LDIR Add -LDIR to link command.
127 127
128 -M, --depend Generate dependency files (.d) for C and C++ 128 -M, --depend Generate dependency files (.d) for C and C++
129 source files. 129 source files.
130 130
131 -RDIR Add -RDIR to link command.
132
133 -W Pass flags though the compiler like -Wl,-rpath=...
134
131 -c, --compile Compile, but do not link. 135 -c, --compile Compile, but do not link.
132 136
133 -o FILE, --output FILE Output file name. Default extension is .oct 137 -o FILE, --output FILE Output file name. Default extension is .oct
134 unless linking a stand-alone executable. 138 unless linking a stand-alone executable.
135 139
159 163
160 -s, --strip Strip output file. 164 -s, --strip Strip output file.
161 165
162 -v, --verbose Echo commands as they are executed. 166 -v, --verbose Echo commands as they are executed.
163 167
164 -W Pass flags though the compiler like -Wl,-rpath=...
165
166 FILE Compile or link FILE. Recognized file types are: 168 FILE Compile or link FILE. Recognized file types are:
167 169
168 .c C source 170 .c C source
169 .cc C++ source 171 .cc C++ source
170 .C C++ source 172 .C C++ source
180 incflags="$incflags $1" 182 incflags="$incflags $1"
181 ;; 183 ;;
182 -D*) 184 -D*)
183 defs="$defs $1" 185 defs="$defs $1"
184 ;; 186 ;;
185 -[lL]*) 187 -[lLR]*)
186 ldflags="$ldflags $1" 188 ldflags="$ldflags $1"
187 ;; 189 ;;
188 -M | --depend) 190 -M | --depend)
189 depend=true 191 depend=true
190 compile=false 192 compile=false