[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Recompile files for different parameters
From: |
Mark Galeck (CW) |
Subject: |
RE: Recompile files for different parameters |
Date: |
Mon, 7 Mar 2011 06:18:17 -0800 |
IMHO, everything should depend on the makefile(s) itself. That would in
particular solve this problem.
Put this in the makefile, before including other makefiles, if any
MAKEFILE := $(lastword $(MAKEFILE_LIST))
Then make everything depend on $(MAKEFILE). If you have more than one
makefile, you may or may not, depending on the situation, make everything
depend on $(MAKEFILE_LIST) )(but I would still include the line as above in
each makefile).
Also, if you want to be a real neatnick, you may want to do
$(MAKEFILE_LIST): ;
if you want to prevent make trying to remake makefiles or look for implicit
rules for them.
Mark
>Is there a possibility to put the flags into the dependencies so that
make consider them?
Or should be another solution used for this case?
- Recompile files for different parameters, Matthias Fechner, 2011/03/07
- RE: Recompile files for different parameters,
Mark Galeck (CW) <=
- Re: Recompile files for different parameters, Matthias Fechner, 2011/03/08
- Re: Recompile files for different parameters, Krzysztof Cieniuch, 2011/03/08
- Re: Recompile files for different parameters, Matthias Fechner, 2011/03/09
- Re: Recompile files for different parameters, Krzysztof Cieniuch, 2011/03/09
- Re: Recompile files for different parameters, Matthias Fechner, 2011/03/17
- Re: Recompile files for different parameters, David Boyce, 2011/03/17
- Re: Recompile files for different parameters, Greg Chicares, 2011/03/08
- RE: Recompile files for different parameters, Mark Galeck (CW), 2011/03/08