From 02b81bdd698bee20a90ae97d4bc6d6e875a242f8 Mon Sep 17 00:00:00 2001 From: cuz Date: Sat, 14 Jul 2001 14:55:08 +0000 Subject: [PATCH] Allow system specific common and runtime files git-svn-id: svn://svn.cc65.org/cc65/trunk@785 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 #----------------------------------------------------------------------------- -- 2.39.5