Changeset 349 for CMT


Ignore:
Timestamp:
Jan 24, 2007, 3:26:01 PM (18 years ago)
Author:
garonne
Message:

add better support for missing target/file during compilation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMT/HEAD/mgr/fragments/cleanup_header

    r183 r349  
    66ifndef PEDANTIC
    77.DEFAULT::
    8         @echo "You should provide a target for this file  $@"
    9 #       @exit 0
     8        @echo "WARNING >> You should provide a target for $@"
     9else
     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;           
    1015endif
    11 
    12 #ifdef PEDANTIC
    13 #.DEFAULT::
    14 #       @echo "You should provide a target for this file  $@"
    15 #       @exit 1
    16 #endif
    17 
    18 
    19 
    2016
    2117${CONSTITUENT}clean ::
Note: See TracChangeset for help on using the changeset viewer.