From: Diego 'Flameeyes' Pettenò Date: Thu, 23 Nov 2006 14:15:30 +0000 (+0100) Subject: Avoid race condition when using multiple make jobs X-Git-Url: http://git.demorecorder.com/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=11738b2af0d8bfcf5b2f7c0d3e6ade1a14866b94;hp=11738b2af0d8bfcf5b2f7c0d3e6ade1a14866b94;p=free-sw%2Fxcb%2Flibxcb Avoid race condition when using multiple make jobs Avoid race condition when symlinking XML files. When declaring a rule with many files as target, the rule is called when any of them is requested, resulting in multiple for loops happening during a make process using more than one job. Also, use '$(LN_S) -f' rather than removing and recreating a file, that one should be as supported as 'rm -f' and requires one less command. ---