[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Howto: Variables dependent on command-line targets
From: |
Krzysztof Horecki |
Subject: |
Re: Howto: Variables dependent on command-line targets |
Date: |
Wed, 02 May 2001 15:07:42 +0200 |
Chad Loder wrote:
>
> Hello. Does GNU make provide any way to construct a
> conditional which tests whether any target was specified
> explicitly?
there is no problem in GNU make:
ifeq ($(MAKECMDGOALS),)
# ...
endif
--
============================
AutoForm Engineering GmbH
Technoparkstrasse 1
CH-8005 Zürich / Switzerland
Tel: +41 1 445 2121
Fax: +41 1 445 2122
www.autoform.ch
============================