home | list info | list archive | date index | thread index

[OCLUG-Tech] how to display the target with which a makefile was invoked?

  • Subject: [OCLUG-Tech] how to display the target with which a makefile was invoked?
  • From: "Robert P. J. Day" <rpjday [ at ] crashcourse [ dot ] ca>
  • Date: Thu, 11 Sep 2014 04:53:02 -0400 (EDT)
  i'm having a brain cramp right now ... i have a Makefile that is
invoked recursively with different targets, and all i want to do is
use $(info ...) (or something similar) to display the target with
which it was invoked. and for the life of me, i'm drawing a blank.
help?

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================