From b4b34c479ed65003a72a5d30dffc4e00eeb700eb Mon Sep 17 00:00:00 2001 From: uz Date: Tue, 7 Feb 2012 17:31:32 +0000 Subject: [PATCH] Minor optimization. git-svn-id: svn://svn.cc65.org/cc65/trunk@5491 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libsrc/Makefile b/libsrc/Makefile index 369093dd2..7047d9048 100644 --- a/libsrc/Makefile +++ b/libsrc/Makefile @@ -258,8 +258,9 @@ geos-cbmlib: for i in runtime common conio em joystick tgi zlib; do \ $(MAKE) SYS=geos-cbm -C $$i || exit 1; \ for objfile in $$i/*.o; do \ - if [ -f geos-common/`basename $$objfile` ]; then \ - $(AR) a geos-cbm.lib geos-common/`basename $$objfile`; \ + BASENAME=`basename $$objfile`; \ + if [ -f geos-common/$$BASENAME ]; then \ + $(AR) a geos-cbm.lib geos-common/$$BASENAME; \ else \ $(AR) a geos-cbm.lib $$objfile; \ fi; \ -- 2.39.5