From 827cd91ead7c893bb2aba01223b07862a19a5ec0 Mon Sep 17 00:00:00 2001 From: Michael Steil Date: Wed, 18 Jun 2014 12:55:06 -0400 Subject: [PATCH] Don't define BYTESWAPPED, so we output correct little endian for 6502 BYTESWAPPED was defined because macross targeted SunOS on SPARC. --- Makefile | 2 +- Makefile_6502 | 2 +- Makefile_68000 | 2 +- opt/Makefile | 2 +- opt/Makefile_6502 | 2 +- opt/Makefile_68000 | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index f2c25e1..9e34208 100644 --- a/Makefile +++ b/Makefile @@ -103,7 +103,7 @@ emitBranch.o: emitBranch_$(PROC).c $(HEADERS) mv emitBranch_$(PROC).o emitBranch.o emitStuff.o: emitStuff.c $(HEADERS) - cc $(CFLAGS) -c -g -DBYTESWAPPED -DTARGET_CPU=CPU_$(PROC) emitStuff.c + cc $(CFLAGS) -c -g -DTARGET_CPU=CPU_$(PROC) emitStuff.c encode.o: encode.c $(HEADERS) diff --git a/Makefile_6502 b/Makefile_6502 index 5891e6f..e7b6ad6 100644 --- a/Makefile_6502 +++ b/Makefile_6502 @@ -101,7 +101,7 @@ emitBranch.o: emitBranch_$(PROC).c $(HEADERS) mv emitBranch_$(PROC).o emitBranch.o emitStuff.o: emitStuff.c $(HEADERS) - cc -c -g -DBYTESWAPPED -DTARGET_CPU=CPU_$(PROC) emitStuff.c + cc -c -g -DTARGET_CPU=CPU_$(PROC) emitStuff.c errorStuff.o: errorStuff.c $(HEADERS) diff --git a/Makefile_68000 b/Makefile_68000 index 70e8b63..4014a74 100644 --- a/Makefile_68000 +++ b/Makefile_68000 @@ -101,7 +101,7 @@ emitBranch.o: emitBranch_$(PROC).c $(HEADERS) mv emitBranch_$(PROC).o emitBranch.o emitStuff.o: emitStuff.c $(HEADERS) - cc -c -g -DBYTESWAPPED -DTARGET_CPU=CPU_$(PROC) emitStuff.c + cc -c -g -DTARGET_CPU=CPU_$(PROC) emitStuff.c errorStuff.o: errorStuff.c $(HEADERS) diff --git a/opt/Makefile b/opt/Makefile index 9784005..ff2b658 100644 --- a/opt/Makefile +++ b/opt/Makefile @@ -102,7 +102,7 @@ emitBranch.o: emitBranch_$(PROC).c $(HEADERS) mv emitBranch_$(PROC).o emitBranch.o emitStuff.o: emitStuff.c $(HEADERS) - cc -c -O -DBYTESWAPPED -DTARGET_CPU=CPU_$(PROC) emitStuff.c + cc -c -O -DTARGET_CPU=CPU_$(PROC) emitStuff.c encode.o: encode.c $(HEADERS) diff --git a/opt/Makefile_6502 b/opt/Makefile_6502 index abe4bee..5c4c73a 100644 --- a/opt/Makefile_6502 +++ b/opt/Makefile_6502 @@ -101,7 +101,7 @@ emitBranch.o: emitBranch_$(PROC).c $(HEADERS) mv emitBranch_$(PROC).o emitBranch.o emitStuff.o: emitStuff.c $(HEADERS) - cc -O -c -DBYTESWAPPED -DTARGET_CPU=CPU_$(PROC) emitStuff.c + cc -O -c -DTARGET_CPU=CPU_$(PROC) emitStuff.c errorStuff.o: errorStuff.c $(HEADERS) diff --git a/opt/Makefile_68000 b/opt/Makefile_68000 index 5015fb6..342d1e2 100644 --- a/opt/Makefile_68000 +++ b/opt/Makefile_68000 @@ -101,7 +101,7 @@ emitBranch.o: emitBranch_$(PROC).c $(HEADERS) mv emitBranch_$(PROC).o emitBranch.o emitStuff.o: emitStuff.c $(HEADERS) - cc -O -c -DBYTESWAPPED -DTARGET_CPU=CPU_$(PROC) emitStuff.c + cc -O -c -DTARGET_CPU=CPU_$(PROC) emitStuff.c errorStuff.o: errorStuff.c $(HEADERS)