[PATCH] TOOLS: Makefile instead of c (was: Re: [MPlayer-dev-eng] documentation of TOOLS directory)

Shachar Raindel shacharr at gmail.com
Wed Aug 4 14:33:44 CEST 2004


On Tue, 3 Aug 2004 10:44:43 +0200 (CEST), VMiklos <mamajom at axelero.hu> wrote:
> On Tue, 3 Aug 2004, Shachar Raindel wrote:
> 
> > B. IMHO, you want to split fastmemcpybench: target to a large number
> > of different targets, with the general rule that there should be
> > target for each file created on the hard disk. This allows make to do
> > better decisions about what it should recompile, and allows the
> > programmer who is only interested in the version to his CPU to build
> > only this version, without wasting the disk-space and time needed to
> > compile a version for each CPU mplayer is optimized for.
> 
> imho it is necessary, see fastmem.sh
> 
How about making a target that will require all of these files,
without build rules, and having a build rule for each of the files?
This is the way makefiles are suppose to be written - otherwise, you
won't have correct rebuilds.

    Cheers,
    Shachar




More information about the MPlayer-dev-eng mailing list