From: Andre Noll Date: Wed, 19 Jun 2013 18:33:43 +0000 (+0200) Subject: Generate ggo dependencies automatically. X-Git-Tag: v0.5.0~9^2 X-Git-Url: http://git.tuebingen.mpg.de/?a=commitdiff_plain;h=e249d1054762f7a3db4f04655dd662a221787a97;hp=e249d1054762f7a3db4f04655dd662a221787a97;p=paraslash.git Generate ggo dependencies automatically. Currently we maintain the dependency list of each ggo file manually in m4/gengetopt/makefile. This is tedious and error-prone, and missing dependencies result in build failures which are not repeatable and hard to locate. This changes the build system to keep track of these dependencies automatically. We now create one .m4d file for each executable. This file lists the dependencies of the corresponding ggo file, i.e. those m4 files which are included in order to make the ggo. All .m4d files are pulled in from the main Makefile via the -include directive, in the same way we include the object dependency files (.d) generated by gcc. ---