Mercurial > remote-gamepad-server
comparison configure @ 2:f362b20de51e
Remove trailing whitespaces.
author | Emmanuel Gil Peyrot <linkmauve@linkmauve.fr> |
---|---|
date | Sun, 22 Feb 2015 18:03:26 +0100 |
parents | 05c8e0aef77d |
children |
comparison
equal
deleted
inserted
replaced
1:05c8e0aef77d | 2:f362b20de51e |
---|---|
27 LDFLAGS='-Wl,-woff,15,-woff,84,-woff,85' | 27 LDFLAGS='-Wl,-woff,15,-woff,84,-woff,85' |
28 | 28 |
29 DEPOPT='-M' | 29 DEPOPT='-M' |
30 | 30 |
31 CCC='cc' | 31 CCC='cc' |
32 | 32 |
33 elif test $systeme = "Linux" | 33 elif test $systeme = "Linux" |
34 then | 34 then |
35 | 35 |
36 #---- Linux ---- | 36 #---- Linux ---- |
37 | 37 |
45 CCC='cc' | 45 CCC='cc' |
46 | 46 |
47 else echo "System $systeme inconnu" | 47 else echo "System $systeme inconnu" |
48 exit 1 | 48 exit 1 |
49 fi | 49 fi |
50 | 50 |
51 #----------------- L'option -e de echo existe ? ---------------- | 51 #----------------- L'option -e de echo existe ? ---------------- |
52 | 52 |
53 recho=`echo -e` | 53 recho=`echo -e` |
54 | 54 |
55 if test "$recho" = "-e" | 55 if test "$recho" = "-e" |
142 realFileList="" | 142 realFileList="" |
143 for j in $fileList | 143 for j in $fileList |
144 do | 144 do |
145 if test $j = `basename $j $extension` | 145 if test $j = `basename $j $extension` |
146 then echo "Attention, dans FILES$i, $j est ignore (!= $extension)... " | 146 then echo "Attention, dans FILES$i, $j est ignore (!= $extension)... " |
147 else | 147 else |
148 if test -z "$realFileList" | 148 if test -z "$realFileList" |
149 then realFileList=$j | 149 then realFileList=$j |
150 else realFileList=$realFileList" "$j | 150 else realFileList=$realFileList" "$j |
151 fi | 151 fi |
152 fi | 152 fi |
153 done | 153 done |
154 if test -z "$realFileList" | 154 if test -z "$realFileList" |
155 then | 155 then |
156 echo "... Donc , FILES$i est vide => FILES$i=$i$extension" | 156 echo "... Donc , FILES$i est vide => FILES$i=$i$extension" |
157 realFileList="$i$extension" | 157 realFileList="$i$extension" |
158 fi | 158 fi |
159 | 159 |
160 echo | 160 echo |
270 | 270 |
271 cat << ! >> $makefile | 271 cat << ! >> $makefile |
272 .c.o : | 272 .c.o : |
273 \$(CCC) \$(CCFLAGS) -c \$< \\ | 273 \$(CCC) \$(CCFLAGS) -c \$< \\ |
274 -o \$*.o | 274 -o \$*.o |
275 | 275 |
276 dep : | 276 dep : |
277 @echo "======== Mise a jour des dependances : .depend ========" | 277 @echo "======== Mise a jour des dependances : .depend ========" |
278 @rm -f .depend | 278 @rm -f .depend |
279 @for i in *$extension ; do \\ | 279 @for i in *$extension ; do \\ |
280 echo \$\$i ; \\ | 280 echo \$\$i ; \\ |
284 sed -e s%\`basename \$\$i $extension\`\\\\\.o%\$\$OBJNAME% \ | 284 sed -e s%\`basename \$\$i $extension\`\\\\\.o%\$\$OBJNAME% \ |
285 >> .depend ; \\ | 285 >> .depend ; \\ |
286 echo >> .depend ; \\ | 286 echo >> .depend ; \\ |
287 done | 287 done |
288 @rm -f .tmpdepend | 288 @rm -f .tmpdepend |
289 | 289 |
290 CLEANING=rm -f *.o core a.out \$(TARGET) .depend | 290 CLEANING=rm -f *.o core a.out \$(TARGET) .depend |
291 CONSEIL=echo Penser a faire : make -f $makefile dep | 291 CONSEIL=echo Penser a faire : make -f $makefile dep |
292 | 292 |
293 clear : | 293 clear : |
294 @\$(CLEANING) | 294 @\$(CLEANING) |
295 @echo | 295 @echo |
296 @\$(CONSEIL) | 296 @\$(CONSEIL) |
297 @echo | 297 @echo |