Last change
on this file since 349 was 349, checked in by garonne, 19 years ago |
add better support for missing target/file during compilation
|
-
Property svn:eol-style
set to
native
|
File size:
568 bytes
|
Rev | Line | |
---|
[2] | 1 | #-- start of cleanup_header --------------
|
---|
| 2 |
|
---|
| 3 | clean :: ${CONSTITUENT}clean
|
---|
| 4 | @cd .
|
---|
| 5 |
|
---|
[183] | 6 | ifndef PEDANTIC
|
---|
[108] | 7 | .DEFAULT::
|
---|
[349] | 8 | @echo "WARNING >> You should provide a target for $@"
|
---|
| 9 | else
|
---|
| 10 | .DEFAULT::
|
---|
| 11 | @echo "PEDANTIC MODE >> You should provide a target for $@"
|
---|
| 12 | @if test `expr index $@ '.'` != 0 ; \
|
---|
| 13 | then echo "PEDANTIC MODE >> This target seems to be a missing file, please check"; exit -1 ;\
|
---|
| 14 | else echo "PEDANTIC MODE >> Just ignore it ; as it seems to be just a fake target due to some pattern" ; exit 0; fi;
|
---|
[183] | 15 | endif
|
---|
[108] | 16 |
|
---|
[2] | 17 | ${CONSTITUENT}clean ::
|
---|
| 18 | #-- end of cleanup_header ---------------
|
---|
Note:
See
TracBrowser
for help on using the repository browser.