I believe that .PHONY is a gnu-make ism, and for now, we at least have to support nmake, and Solaris's /usr/ccs/bin/make, etc.

According to

http://www.bell-labs.com/project/nmake/faq/gmake.html

nmake has something similar called .VIRTUAL - someone could abstract out the makefile-specifics of this, and have the various makefile.in's automatically generate the best code for the particular make you're using.

One of the original goals was to replace make with something driven by miniparrot - If that's still a goal, our energy is probably better spent doing that than customizing the generated makefiles.

At the moment, however, I'm of the mind: if it ain't broke, don't fix it.

Regards.

On Jul 27, 2005, at 10:37 AM, Matt Fowles wrote:

Will~

Doesn't make have something called "PHONY" to handle that exact case?

Matt

On 7/27/05, Will Coleda <[EMAIL PROTECTED]> wrote:

This is because there's a directory called "tcl". Since the directly
already exists, there'd be nothing to make.

Picking a dummy target like this is a way to force the target to
always be built, regardless.

On Jul 27, 2005, at 10:00 AM, Jerry Gay via RT wrote:


leo's fix (r8695) works just fine on windows :)

but what is all this .dummy business?

  tcl: tcl.dummy
  tcl.dummy:
      - $(MAKE_C) tcl
  tcl.test:
      - $(MAKE_C) tcl test
  tcl.clean:
      - $(MAKE_C) tcl clean


can't that just be
  tcl:
      - $(MAKE_C) tcl
etc.

~jerry








--
"Computer Science is merely the post-Turing Decline of Formal Systems Theory."
-Stan Kelly-Bootle, The Devil's DP Dictionary



Reply via email to