|
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 built?
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 ... clean: rm $(ALL_TARGETS) Gökçe
[Prev in Thread] | Current Thread | [Next in Thread] |