From fed048bf8aa035467e8219cdd54edf3c8fb24828 Mon Sep 17 00:00:00 2001 From: cuz Date: Fri, 8 Oct 2004 18:11:29 +0000 Subject: [PATCH] Added lynxlib target git-svn-id: svn://svn.cc65.org/cc65/trunk@3221 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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 -- 2.39.5