> Date: Fri, 19 Aug 2011 12:50:08 +0200
> From: Stephan Beal <[email protected]>
> 
> ########################################################################
> # FIND_FILE call()able function:
> # $1 = app name
> # $2 = optional path
> FIND_FILE = $(firstword $(wildcard $(addsuffix /$(1),$(subst :, ,$(2)
> $(PATH)))))
> 
> CC := $(call FIND_FILE,gcc)

Didn't the OP say that the compiler is NOT on PATH?

_______________________________________________
Help-make mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-make

Reply via email to