help-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

make (3.81): unintuitive recipe execution order on Linux


From: SysTom
Subject: make (3.81): unintuitive recipe execution order on Linux
Date: 30 May 2007 11:41:43 -0700
User-agent: G2/1.0

Hello,

I have a makefile that produces a dummy object to indicate that
'everything is made'.  The recipe is roughly as follows:

$(DUMMY): $(SOMETHING)
        ...
        $(MAKE) something
        ...
        touch $(DUMMY)

something: $(SOMETHING)
        {make something}

However, it always makes because, for some reason, 'something' is
always 5s older then $(DUMMY).

Strangely, it behaves as I would expect on cygwin, but exhibits this
unexpected behavior on Linux.

Any ideas?

Thanks, SysTom



reply via email to

[Prev in Thread] Current Thread [Next in Thread]