[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
How to print at the start of Makefile
From: |
Ajay Jain |
Subject: |
How to print at the start of Makefile |
Date: |
Fri, 1 Apr 2011 17:12:26 +0530 |
Hi,
I would like to print a banner string whenever user does any operation
in my makefile. The banner echoes some information on the shell. Since
there are many many targets in the makefile, I do not know what the
user will run and therefore I cannot assign the banner target as one
of my rules' dependencies.
Could you suggest something? What I want is :
When I do:
make x Or make y OR ....
The Makefile always prints the following as the first operation:
echo "logname, hostname, date, time etc etc"
Regards,
Ajay
- How to print at the start of Makefile,
Ajay Jain <=