Commit fb044341 authored by Richard Levitte's avatar Richard Levitte
Browse files

In the recipe using "makedepend", make sure the object file extension is there

parent 39affe19
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -884,7 +884,7 @@ EOF
          $recipe .= <<"EOF";
$obj$depext: $deps
	rm -f \$\@.tmp; touch \$\@.tmp
	-\$(MAKEDEPEND) -f\$\@.tmp -o"|$obj" -- \$(CFLAGS) $ecflags$incs -- $srcs \\
	-\$(MAKEDEPEND) -f\$\@.tmp -o"|$obj$objext" -- \$(CFLAGS) $ecflags$incs -- $srcs \\
	    2>/dev/null
	sed -e 's/^.*|//' -e 's/ \\/\\(\\\\.\\|[^ ]\\)*//g' -e '/: *\$\$/d' -e '/^\\(#.*\\| *\\)\$\$/d' \$\@.tmp > \$\@
	rm \$\@.tmp