From: uz Date: Tue, 7 Feb 2012 17:31:32 +0000 (+0000) Subject: Minor optimization. X-Git-Tag: V2.13.3~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b4b34c479ed65003a72a5d30dffc4e00eeb700eb;p=cc65 Minor optimization. git-svn-id: svn://svn.cc65.org/cc65/trunk@5491 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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; \