From: cuz Date: Fri, 8 Oct 2004 18:11:29 +0000 (+0000) Subject: Added lynxlib target X-Git-Tag: V2.12.0~614 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fed048bf8aa035467e8219cdd54edf3c8fb24828;p=cc65 Added lynxlib target git-svn-id: svn://svn.cc65.org/cc65/trunk@3221 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/Makefile b/libsrc/Makefile index f084ab222..9134df1f4 100644 --- a/libsrc/Makefile +++ b/libsrc/Makefile @@ -23,6 +23,7 @@ ALLTARGETS = apple2 \ cbm510 \ cbm610 \ geos \ + lynx \ nes \ pet \ plus4 \ @@ -249,6 +250,21 @@ geoslib: cp geos/devel/*.joy . cp geos/devel/geos-tgi.tgi geos-tgi.tgi +#----------------------------------------------------------------------------- +# Lynx + +lynxlib: + for i in lynx common conio runtime em joystick tgi zlib; do \ + AS=$(AS) \ + CC=$(CC) \ + LD=$(LD) \ + AFLAGS="-t lynx -I../../asminc" \ + CFLAGS="-Osir -g -T -t lynx --forget-inc-paths -I. -I../../include" \ + $(MAKE) -C $$i || exit 1; \ + $(AR) a lynx.lib $$i/*.o;\ + done + mv lynx/crt0.o lynx.o + #----------------------------------------------------------------------------- # NES