From: cuz Date: Sat, 14 Jul 2001 14:55:08 +0000 (+0000) Subject: Allow system specific common and runtime files X-Git-Tag: V2.12.0~2782 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=02b81bdd698bee20a90ae97d4bc6d6e875a242f8;p=cc65 Allow system specific common and runtime files git-svn-id: svn://svn.cc65.org/cc65/trunk@785 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/Makefile b/libsrc/Makefile index cd662e93c..a77fd2d23 100644 --- a/libsrc/Makefile +++ b/libsrc/Makefile @@ -126,7 +126,13 @@ geoslib: $(MAKE) -C $$i || exit 1; \ done for i in common runtime; do \ - $(AR) a geos.lib $$i/*.o;\ + for objfile in $$i/*.o; do \ + if [ -f geos/$$objfile ]; then \ + $(AR) a geos.lib geos/$$objfile; \ + else \ + $(AR) a geos.lib $$objfile; \ + fi; \ + done \ done #-----------------------------------------------------------------------------