maulin sheth
Advanced Member level 2
- Joined
- Oct 24, 2010
- Messages
- 502
- Helped
- 90
- Reputation
- 179
- Reaction score
- 90
- Trophy points
- 1,318
- Location
- Bangalore, India
- Activity points
- 4,161
Hello All,
I want to do like :
make create_dir Dir=type
How I can check that if Dir command line options is given or not in the makefile.
As I come to problem that if we do not pass the Dir thn also make file run. So, if i want to stop if Dir option is not given through Command line, than How Can I do that in Makefile?
Please help me to solve this problem.
With regards,
Maulin
I want to do like :
make create_dir Dir=type
How I can check that if Dir command line options is given or not in the makefile.
As I come to problem that if we do not pass the Dir thn also make file run. So, if i want to stop if Dir option is not given through Command line, than How Can I do that in Makefile?
Please help me to solve this problem.
With regards,
Maulin