]> git.sur5r.net Git - cc65/commitdiff
Added lynxlib target
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 8 Oct 2004 18:11:29 +0000 (18:11 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Fri, 8 Oct 2004 18:11:29 +0000 (18:11 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@3221 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/Makefile

index f084ab2228a7bbfcb0249ff5a04996a44975562e..9134df1f4eaea02121c03941e73fd31668046276 100644 (file)
@@ -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