From: cuz Date: Tue, 18 Sep 2001 12:22:55 +0000 (+0000) Subject: Include source lines into generated asm code X-Git-Tag: V2.12.0~2641 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e7c270e7acb9a744e9debc7ba20582c8fe33ded8;p=cc65 Include source lines into generated asm code git-svn-id: svn://svn.cc65.org/cc65/trunk@943 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/Makefile b/libsrc/Makefile index 79e086df5..43f7f8c08 100644 --- a/libsrc/Makefile +++ b/libsrc/Makefile @@ -35,7 +35,7 @@ apple2lib: for i in apple2 common runtime conio dbg; do \ CC=$(CC) \ AS=$(AS) \ - CFLAGS="-Osir -g -t apple2 -I../../include" \ + CFLAGS="-Osir -g -T -t apple2 -I../../include" \ AFLAGS="-t apple2" \ $(MAKE) -C $$i || exit 1; \ done @@ -51,7 +51,7 @@ atarilib: for i in atari common runtime conio dbg; do \ CC=$(CC) \ AS=$(AS) \ - CFLAGS="-Osir -g -t atari -I../../include" \ + CFLAGS="-Osir -g -T -t atari -I../../include" \ AFLAGS="-t atari" \ $(MAKE) -C $$i || exit 1; \ done @@ -67,7 +67,7 @@ c64lib: for i in c64 cbm common runtime conio dbg; do \ CC=$(CC) \ AS=$(AS) \ - CFLAGS="-Osir -g -t c64 -I../../include" \ + CFLAGS="-Osir -g -T -t c64 -I../../include" \ AFLAGS="-t c64" \ $(MAKE) -C $$i || exit 1; \ done @@ -83,7 +83,7 @@ c128lib: for i in c128 cbm common runtime conio dbg; do \ CC=$(CC) \ AS=$(AS) \ - CFLAGS="-Osir -g -t c128 -I../../include" \ + CFLAGS="-Osir -g -T -t c128 -I../../include" \ AFLAGS="-t c128" \ $(MAKE) -C $$i || exit 1; \ done @@ -93,35 +93,35 @@ c128lib: done #----------------------------------------------------------------------------- -# PET-II series +# Commdore P500 / CBM 5x0 -cbm610lib: - for i in cbm610 cbm common runtime conio dbg; do \ +cbm510lib: + for i in cbm510 cbm common runtime conio dbg; do \ CC=$(CC) \ AS=$(AS) \ - CFLAGS="-Osir -g -t cbm610 -I../../include" \ - AFLAGS="-t cbm610" \ + CFLAGS="-Osir -g -T -t cbm510 -I../../include" \ + AFLAGS="-t cbm510" \ $(MAKE) -C $$i || exit 1; \ done - mv cbm610/crt0.o cbm610.o - for i in cbm610 cbm common runtime conio dbg; do \ - $(AR) a cbm610.lib $$i/*.o;\ + mv cbm510/crt0.o cbm510.o + for i in cbm510 cbm common runtime conio dbg; do \ + $(AR) a cbm510.lib $$i/*.o;\ done #----------------------------------------------------------------------------- -# Commdore P500 / CBM 5x0 +# PET-II series -cbm510lib: - for i in cbm510 cbm common runtime conio dbg; do \ +cbm610lib: + for i in cbm610 cbm common runtime conio dbg; do \ CC=$(CC) \ AS=$(AS) \ - CFLAGS="-Osir -g -t cbm510 -I../../include" \ - AFLAGS="-t cbm510" \ + CFLAGS="-Osir -g -T -t cbm610 -I../../include" \ + AFLAGS="-t cbm610" \ $(MAKE) -C $$i || exit 1; \ done - mv cbm510/crt0.o cbm510.o - for i in cbm510 cbm common runtime conio dbg; do \ - $(AR) a cbm510.lib $$i/*.o;\ + mv cbm610/crt0.o cbm610.o + for i in cbm610 cbm common runtime conio dbg; do \ + $(AR) a cbm610.lib $$i/*.o;\ done #----------------------------------------------------------------------------- @@ -131,14 +131,14 @@ geoslib: CC=../$(CC) \ AS=../$(AS) \ AR=../$(AR) \ - CFLAGS="-Osir -g -t geos -I../../include" \ + CFLAGS="-Osir -g -T -t geos -I../../include" \ AFLAGS="-t geos" \ $(MAKE) -C geos || exit 1 for i in common runtime; do \ CC=$(CC) \ AS=$(AS) \ AR=$(AR) \ - CFLAGS="-Osir -g -t geos -I../../include" \ + CFLAGS="-Osir -g -T -t geos -I../../include" \ AFLAGS="-t geos" \ $(MAKE) -C $$i || exit 1; \ done @@ -159,7 +159,7 @@ petlib: for i in pet cbm common runtime conio dbg; do \ CC=$(CC) \ AS=$(AS) \ - CFLAGS="-Osir -g -t pet -I../../include" \ + CFLAGS="-Osir -g -T -t pet -I../../include" \ AFLAGS="-t pet" \ $(MAKE) -C $$i || exit 1; \ done @@ -175,7 +175,7 @@ plus4lib: for i in plus4 cbm common runtime conio dbg; do \ CC=$(CC) \ AS=$(AS) \ - CFLAGS="-Osir -g -t plus4 -I../../include" \ + CFLAGS="-Osir -g -T -t plus4 -I../../include" \ AFLAGS="-t plus4" \ $(MAKE) -C $$i || exit 1; \ done