From: Oliver Schmidt
Date: Wed, 8 May 2013 23:37:09 +0000 (+0200)
Subject: Search for "local" binaries only once.
X-Git-Tag: V2.14~9
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=443e33605809bb04c851052ca8bd019a7c7e7d57;p=cc65
Search for "local" binaries only once.
---
diff --git a/libsrc/Makefile b/libsrc/Makefile
index ae691697d..d924d7bdc 100644
--- a/libsrc/Makefile
+++ b/libsrc/Makefile
@@ -191,11 +191,11 @@ endef
$(foreach drvtype,$(DRVTYPES),$(eval $(call DRVTYPE_template,$(drvtype))))
-AR = $(if $(wildcard ../bin/ar65*),../bin/ar65,ar65)
-CA = $(if $(wildcard ../bin/ca65*),../bin/ca65,ca65)
-CC = $(if $(wildcard ../bin/cc65*),../bin/cc65,cc65)
-CO = $(if $(wildcard ../bin/co65*),../bin/co65,co65)
-LD = $(if $(wildcard ../bin/ld65*),../bin/ld65,ld65)
+AR := $(if $(wildcard ../bin/ar65*),../bin/ar65,ar65)
+CA := $(if $(wildcard ../bin/ca65*),../bin/ca65,ca65)
+CC := $(if $(wildcard ../bin/cc65*),../bin/cc65,cc65)
+CO := $(if $(wildcard ../bin/co65*),../bin/co65,co65)
+LD := $(if $(wildcard ../bin/ld65*),../bin/ld65,ld65)
##########