How can I do something like this;
For case 1, I need CASE_DIR= /somewhere/case_1
For case 2, I need CASE_DIR=/somewhere/case_2
So I tried following makefile but it doesnot work.
What am I missing?
--------------------------------
%cat Makefile
case_%:CASE_DIR= /somewhere/case_%
case_%:
@echo "The case directory is ${CASE_DIR}"
-----------------------------------
%gmake case_1
The case directory is /somewhere/case_%
--
----
Aditya Kher
email: [EMAIL PROTECTED]
Web: http://www.kher.org
----
_______________________________________________
Help-make mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-make