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:bagn...@cs.unipr.it

Reply via email to