[Top][All Lists]

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

Re: .DEFAULT_GOAL with two targets

From: Gökçe Aydos
Subject: Re: .DEFAULT_GOAL with two targets
Date: Tue, 19 Dec 2017 17:00:20 +0100
User-agent: Horde Application Framework 5

Quoting Paul Smith:

I don't quite understand what you're trying to do here.  Why do you
always want to delete the single default goal, regardless of what was

You are right Paul, the clean recipe does not make sense anymore—it only removes target1. I thought I can use .DEFAULT_GOAL to write generic (clean) recipes.

My solution is now:

ALL_TARGETS: target1 target2


    rm $(ALL_TARGETS)


reply via email to

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