Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

[Makefile] How can we check command line options in Makefile?

Status
Not open for further replies.

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
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top