stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Liviu Nicoara <>
Subject [PATCH] build process fails in TOPDIR if target (lib, etc.) specified (was Re: makefile patch)
Date Fri, 23 Dec 2005 22:15:07 GMT

As we discussed, the patch has to overcome two related issues: the
one-time build of the config.h header when gmake is invoked first time
in TOPDIR and the updating of config.h (without creating a circular
dependency) whenever needed and whenever gmake is invoked in BUILDDIR,
regardless of the target.

This patch is (I believe) an improvement over the previous ones in that
the building process visits the include directory every time  sources
change (and dependencies have to be rebuilt). Doing so it correctly
rebuilds config.h whenever its dependencies have been modified.

Please let me know if you see any more problems with it.



ChangeLog entry:

2005-12-23  Liviu Nicoara  <>

	* GNUMakefile: removed useless rules: all, builddir, added
	  rule lib, added variable INCDIR
	* etc/config/makefile.rules: added PHONY dependency "config"
	  to .d targets which invokes "$(MAKE) -C$(INCDIR)"

View raw message