Updated configure CPU detection (still terrible for Athlon non 64 CPUs though >_<). Put in object converter to convert NASM ELF32 output to ELF x86-64. Made x86-64 get -k8 Optimization, Intel CPUs can go jump in a lake for now.

This commit is contained in:
n-a-c-h
2005-07-10 22:57:43 +00:00
parent b8da7916e2
commit 9ef907edf9
4 changed files with 933 additions and 365 deletions

View File

@@ -18,6 +18,8 @@
#along with this program; if not, write to the Free Software
#Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
x86-64=@X8664@
CHIPDIR=chips
CPUDIR=cpu
DOSDIR=dos
@@ -94,6 +96,9 @@ PSR=parsegen
%.o: %.asm
@NASMPATH@ @NFLAGS@ -o $@ $<
ifeq (${x86-64},true)
objcopy --input-target elf32-i386 --output-target elf64-x86-64 $@ $@
endif
%.o: %.psr
./${PSR} -D__UNIXSDL__ temppsr.c $<