[Top][All Lists]

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


From: Anantharamaiah Bhaskara
Subject: Problem
Date: Fri, 13 Jul 2007 11:00:37 +0530

Dear all,

I am facing a problem in my build environment. Please see the example
below. I want to build T1, clean and T2 (in sequence) as follows:

        make T1 clean T2

I expect 
        1. pre-requisites of T1 get built and then T1 itself
        2. pre-requisities of T1 & T2 (common to both) get removed
        3. pre-requisites of T2 get built and then T2 itself.

But I don't see what I expect. Steps 1 & 2 happen but 3 doesn't. Please
let me know if there is any other option that I need to pass to gmake to
achieve what I want or is this a bug in gmake. 

Following is the contents of my Makefile:-

        file2: file3
                touch $@

        file1: file2
                touch $@

        FOO: file1
                touch $@

        T1 T2: FOO

                rm -rf FOO


reply via email to

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