Makefile.arch question

Hello,

I have a piece of software where the makefile contains :

I guess that this is done to have all kind of variables already set (SrcSuf or ROOTCFLAGS).

The file has moved (?) in 5.32 from $ROOTSYS/test to $ROOTSYS/etc. Thus my questions :

  1. Is it a bad idea to use Makefile.arch in our Makefiles ?
  2. Why was it moved ?

Thank you,
Barth

Hi Barth,

It was moved from /test to /etc to make it clear that indeed it is an officially supported way to configure your Makefile (as opposed to simply be a part of the testing framework). So yes, go ahead and use it :slight_smile:

Cheers,
Philippe.

Very good, thanks !