Last change
on this file since 442 was
349,
checked in by garonne, 17 years ago
|
add better support for missing target/file during compilation
|
-
Property svn:eol-style set to
native
|
File size:
568 bytes
|
Line | |
---|
1 | #-- start of cleanup_header -------------- |
---|
2 | |
---|
3 | clean :: ${CONSTITUENT}clean |
---|
4 | @cd . |
---|
5 | |
---|
6 | ifndef PEDANTIC |
---|
7 | .DEFAULT:: |
---|
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; |
---|
15 | endif |
---|
16 | |
---|
17 | ${CONSTITUENT}clean :: |
---|
18 | #-- end of cleanup_header --------------- |
---|
Note: See
TracBrowser
for help on using the repository browser.