automake
[Top][All Lists]
Advanced

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

Conditonnal


From: Florent. Devin
Subject: Conditonnal
Date: Thu, 08 Feb 2001 18:00:28 +0100

Hi,
How can I make a Makefile based on automake to be conditionnal
at make time and not at configure time.
I have to do this in my Makefile :
ifeq "$(shell if [ -f $(DEPEND) ]; then echo EXISTS; fi)" ""
        all: $(PROG)
        include $(DEPEND)
else
        all: depend
endif

So it requires make time checking because it generates differents
files depending on what it has been generated before.

Please Help.
-- 
Florent DEVIN



reply via email to

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