Initial Apple GEOS build.

git-svn-id: svn://svn.cc65.org/cc65/trunk@5512 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
ol.sc
2012-02-09 10:03:54 +00:00
parent ff746b119c
commit bf6b0f1e4b
6 changed files with 156 additions and 1 deletions

View File

@@ -37,7 +37,8 @@ ALLTARGETS = apple2 \
c64 \
cbm510 \
cbm610 \
geos-cbm \
geos-apple \
geos-cbm \
lynx \
nes \
pet \
@@ -246,6 +247,32 @@ cbm610lib:
done \
fi
#-----------------------------------------------------------------------------
# GEOS on the Apple
.PHONY: geos-applelib
geos-applelib:
for i in geos-apple geos-common; do \
$(MAKE) SYS=geos-apple -C $$i || exit 1; \
$(AR) a geos-apple.lib $$i/*.o || exit 1; \
done
for i in runtime common conio em joystick tgi zlib; do \
$(MAKE) SYS=geos-apple -C $$i || exit 1; \
for objfile in $$i/*.o; do \
BASENAME=`basename $$objfile`; \
if [ -f geos-common/$$BASENAME ]; then \
$(AR) a geos-apple.lib geos-common/$$BASENAME; \
else \
$(AR) a geos-apple.lib $$objfile; \
fi; \
done \
done
if [ -d geos-apple/extra ]; then \
for i in geos-apple/extra/*.o; do \
cp $$i geos-apple-`basename $$i` || exit 1; \
done \
fi
#-----------------------------------------------------------------------------
# GEOS on the C64/128