automake
[Top][All Lists]
Advanced

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

Re: Testing a new compiler with Automake "simple tests"


From: Roberto Bagnara
Subject: Re: Testing a new compiler with Automake "simple tests"
Date: Tue, 17 Aug 2010 15:53:27 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050929 Thunderbird/1.0.7 Fedora/1.0.7-1.1.fc4 Mnenhy/0.7.3.0

On 08/17/10 14:26, Stefano Lattarini wrote:
Obviously you're right, sorry for not thinking this through.
If every test program is built from a single `.c' file, what
about using this instead:
   $(TESTS:=.o) your-special-purpose-compiler
It should also be portable make AFAIK.

Yes!

TESTS_OBJS = $(TESTS:=.o)
$(TESTS_OBJS): my-special-purpose-compiler

Yes, this works.  Sorry for not having looked at the manual
carefully enough (not that I did not try).
Well, I think it's not your fault: that option should be at least
mentioned in the "Dependency Tracking" section.  This can probably be
seen as a documentation bug.  Maybe I'll attempt a patch later or
tomorrow.

Yes, that would be a definite improvement.
Thanks again,

   Roberto

--
Prof. Roberto Bagnara
Applied Formal Methods Laboratory
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:address@hidden



reply via email to

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