help-make
[Top][All Lists]
Advanced

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

Re: What's the best way to do this?


From: Tristan Van Berkom
Subject: Re: What's the best way to do this?
Date: Wed, 09 Jun 2004 10:44:49 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030225

subnet wrote:
[...]
Any help will be greatly appreciated.

    I think this is a great idea, I only wish I could believe that
it is feasible ;-)

Do you assume that every program will successfully start ?

Maybe you can recursivly invoke make with something like this:

# Main makefile
#
%-start:
        $(MAKE) -f start.mk $@ || \
        $(MAKE) -f cleanup.mk $(patsubst %-start,%-cleanup,$@)


Just a thought, Good luck!
                                             -Tristan






reply via email to

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