comparison Makefile @ 1627:e1b954780837

undo accidental changes
author Moritz Warning <moritzwarning@web.de>
date Thu, 06 Jan 2011 16:03:25 +0100
parents 16361129bf5f
children c6ef09dfba4d
comparison
equal deleted inserted replaced
1626:e160bfec54d5 1627:e1b954780837
145 # 145 #
146 # target should fail to compile 146 # target should fail to compile
147 # 147 #
148 nocompile : $(dstress__) nocompile_clean 148 nocompile : $(dstress__) nocompile_clean
149 echo '#!/bin/sh' > nocompile.sh 149 echo '#!/bin/sh' > nocompile.sh
150 find nocompile -type f | grep -v ".svn" | sort -f | xargs -n 1 echo "$(dstress__) nocompile" >> nocompile.sh 150 find nocompile -type f | grep -v ".svn" | sort -f | xargs -n 1 echo "$(dstress__) torture-nocompile" >> nocompile.sh
151 chmod +x nocompile.sh 151 chmod +x nocompile.sh
152 ./nocompile.sh 2>> $(LOG) 152 ./nocompile.sh 2>> $(LOG)
153 153
154 nocompile_clean : 154 nocompile_clean :
155 $(eval z_rm = $(shell find nocompile -type f -name "*\\.o" | grep -v ".svn")) 155 $(eval z_rm = $(shell find nocompile -type f -name "*\\.o" | grep -v ".svn"))
175 # 175 #
176 # target should compile (excludes linking) 176 # target should compile (excludes linking)
177 # 177 #
178 compile : $(dstress__) compile_clean 178 compile : $(dstress__) compile_clean
179 echo '#!/bin/sh' > compile.sh 179 echo '#!/bin/sh' > compile.sh
180 find compile -type f | grep -v ".svn" | sort -f | xargs -n 1 echo "$(dstress__) compile" >> compile.sh 180 find compile -type f | grep -v ".svn" | sort -f | xargs -n 1 echo "$(dstress__) torture-compile" >> compile.sh
181 chmod +x compile.sh 181 chmod +x compile.sh
182 ./compile.sh 2>> $(LOG) 182 ./compile.sh 2>> $(LOG)
183 183
184 compile_clean : 184 compile_clean :
185 $(eval z_rm = $(shell find compile -type f -name "*\\.o" | grep -v ".svn")) 185 $(eval z_rm = $(shell find compile -type f -name "*\\.o" | grep -v ".svn"))
203 # 203 #
204 # target should compile, link and run 204 # target should compile, link and run
205 # 205 #
206 run : $(dstress__) run_clean 206 run : $(dstress__) run_clean
207 echo '#!/bin/sh' > run.sh 207 echo '#!/bin/sh' > run.sh
208 find run -type f -name "*\\.d" | grep -v ".svn" | sort -f | xargs -n 1 echo "$(dstress__) run" >> run.sh 208 find run -type f | grep -v ".svn" | sort -f | xargs -n 1 echo "$(dstress__) torture-run" >> run.sh
209 chmod +x run.sh 209 chmod +x run.sh
210 ./run.sh 2>> $(LOG) 210 ./run.sh 2>> $(LOG)
211 211
212 run_clean : 212 run_clean :
213 $(eval z_rm = $(shell find run -type f -name "*\\.exe" | grep -v ".svn")) 213 $(eval z_rm = $(shell find run -type f -name "*\\.exe" | grep -v ".svn"))
272 # 272 #
273 # target should compile and link but fail to run 273 # target should compile and link but fail to run
274 # 274 #
275 norun : $(dstress__) norun_clean 275 norun : $(dstress__) norun_clean
276 echo '#!/bin/sh' > norun.sh 276 echo '#!/bin/sh' > norun.sh
277 find norun -type f -name "*\\.d" | grep -v ".svn" | sort -f | xargs -n 1 echo "$(dstress__) norun" >> norun.sh 277 find norun -type f | grep -v ".svn" | sort -f | xargs -n 1 echo "$(dstress__) torture-norun" >> norun.sh
278 chmod +x norun.sh 278 chmod +x norun.sh
279 ./norun.sh 2>> $(LOG) 279 ./norun.sh 2>> $(LOG)
280 280
281 norun_clean : 281 norun_clean :
282 $(eval z_rm = $(shell find norun -type f -name "*\\.exe" | grep -v ".svn")) 282 $(eval z_rm = $(shell find norun -type f -name "*\\.exe" | grep -v ".svn"))