help-make
[Top][All Lists]
Advanced

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

Problem about multiple targets


From: 董理
Subject: Problem about multiple targets
Date: Fri, 17 Sep 2010 09:21:34 +0800

Dear all,

I want to write a rule with multiple targets as following:

        ${TARGET}: $(addsuffix .F90, $@) ${OBJECT}
                ...

Every target "<TARGET>" has a corresponding source file "<TARGET>.F90",
so it is different from the example in Info pages of make. But the
automatic variable "$@" has no value in the prerequisite. How to solve
this problem?

Thanks for help!

-- 
Best regards,

DONG Li




reply via email to

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