New Messages for Recursive Makes
----------
[prev] [home] [next]

  • New base rule variables control output for recursive makes

    recurse_begin_message recurse_end_message

  • Example

    Top-level makefile:
    targ1 :MAKE: dir_one dir_two
    

    Makefiles in dir_one and dir_two:

    default:
        : $(<) $(PWD)
    targ1:
        : $(<) $(PWD)
    targ2:
        : $(<) $(PWD)
    
         
    Run nmake:
    $ nmake recurse targ1 \
    recurse_begin_message="Entering into Directory" \
    recurse_end_message="Leaving Directory"
    
    Output:
    Entering into Directory dir_one:
    + : targ1 /home/dma/dir_one
    Leaving Directory dir_one
    Entering into Directory dir_two:
    + : targ1 /home/dma/dir_two
    Leaving Directory dir_two
    
6/21/99 Page 16
nmake@alcatel-lucent.com
[prev] [home] [next] Nokia