Re: Two Level Assignment

2011-12-08 Thread J.T. Conklin
Ajay Jain writes: > I would llike to accomplish the following: > > INFO=4 > LOG_LEVEL=INFO > > Using the single variable - LOG_LEVEL, I want to get INFO and 4 in two > situations: > > 1. When I print in a Makefile rule, I need to print INFO. This can be > easily done by using echo $LOG_LEVEL (whic

Two Level Assignment

2011-12-08 Thread Ajay Jain
Hello, I would llike to accomplish the following: INFO=4 LOG_LEVEL=INFO Using the single variable - LOG_LEVEL, I want to get INFO and 4 in two situations: 1. When I print in a Makefile rule, I need to print INFO. This can be easily done by using echo $LOG_LEVEL (which evaluates to INFO. 2. Whe