git: 9front

Download patch

ref: fffe074b42dcc091c065594d21cf03c144cc43bb
parent: 6ac6fc507bd24b8ef9ab451b13036afa4d3e5ef9
author: Jacob Moody <moody@posixcafe.org>
date: Mon Jul 31 20:20:29 EDT 2023

games/gba/rom: use -t with 5a

This makes all the generated object files *.t

--- a/sys/src/games/gba/rom/mkfile
+++ b/sys/src/games/gba/rom/mkfile
@@ -3,5 +3,6 @@
 CC=tc
 LD=tl
 LDFLAGS=-T 0x080000C0 -R 0x4
+AFLAGS=-t
 O=t
 AS=5a
--- a/sys/src/games/gba/rom/mkone
+++ b/sys/src/games/gba/rom/mkone
@@ -7,12 +7,12 @@
 $TARG.gba:	$O.out
 	games/aout2gba -o $target $prereq
 
-$O.out:	l.5 $OFILES $LIB
+$O.out:	l.$O $OFILES $LIB
 	$LD $LDFLAGS -o $target $prereq
 
 %.$O:	$HFILES
 
-l.5:	/sys/src/games/gba/rom/l.s
+l.$O:	/sys/src/games/gba/rom/l.s
 	$AS $AFLAGS $prereq
 
 %.$O:	%.c
--