mirror of
https://github.com/vivier/EMILE.git
synced 2025-01-09 07:30:05 +00:00
Introduce gcc-3.3 and 68020 target instead of 68030
This commit is contained in:
parent
8cfdb1db76
commit
678d7288f3
@ -8,7 +8,9 @@ TOP = $(shell pwd)
|
|||||||
VPATH = $(TOP)
|
VPATH = $(TOP)
|
||||||
CPPFLAGS = -DVERSION="\"$(VERSION)\"" -I$(TOP) -Wa,-I$(TOP) \
|
CPPFLAGS = -DVERSION="\"$(VERSION)\"" -I$(TOP) -Wa,-I$(TOP) \
|
||||||
$(OPT_CPPFLAGS)
|
$(OPT_CPPFLAGS)
|
||||||
CFLAGS = -Wno-multichar -O $(OPT_CFLAGS) -nostdlib -nodefaultlibs -Wall -Werror -fpic
|
#TARGET_CFLAGS = -m68000 -Wa,-m68000
|
||||||
|
TARGET_CFLAGS = -m68020 -Wa,-m68020
|
||||||
|
CFLAGS = $(OPT_CFLAGS) -nostdlib -nodefaultlibs -Wall -Werror -Wno-multichar -Os -fpic $(TARGET_CFLAGS)
|
||||||
ASFLAGS =
|
ASFLAGS =
|
||||||
LS = ls
|
LS = ls
|
||||||
AWK = awk
|
AWK = awk
|
||||||
@ -35,10 +37,11 @@ second: second.o
|
|||||||
m68k-second_floppy::
|
m68k-second_floppy::
|
||||||
test -d m68k-floppy || mkdir m68k-floppy
|
test -d m68k-floppy || mkdir m68k-floppy
|
||||||
cd m68k-floppy && make -f $(TOP)/Makefile second VERSION=$(VERSION) \
|
cd m68k-floppy && make -f $(TOP)/Makefile second VERSION=$(VERSION) \
|
||||||
TOP=$(TOP) OPT_CPPFLAGS="-DARCH_M68K" \
|
TOP=$(TOP) \
|
||||||
|
OPT_CPPFLAGS="-DARCH_M68K" \
|
||||||
OBJCOPY=$(OBJCOPY) LD=$(LD) CC=$(CC) \
|
OBJCOPY=$(OBJCOPY) LD=$(LD) CC=$(CC) \
|
||||||
AS=$(AS) SIGNATURE="$(SIGNATURE)" \
|
AS=$(AS) SIGNATURE="$(SIGNATURE)" \
|
||||||
OPTOBJS="$(OBJS_M68K)" OPT_CFLAGS="-m68030"
|
OPTOBJS="$(OBJS_M68K)"
|
||||||
mv m68k-floppy/second m68k-second_floppy
|
mv m68k-floppy/second m68k-second_floppy
|
||||||
|
|
||||||
m68k-second_scsi::
|
m68k-second_scsi::
|
||||||
@ -47,7 +50,7 @@ m68k-second_scsi::
|
|||||||
TOP=$(TOP) \
|
TOP=$(TOP) \
|
||||||
OPT_CPPFLAGS="-DARCH_M68K -DSCSI_SUPPORT" \
|
OPT_CPPFLAGS="-DARCH_M68K -DSCSI_SUPPORT" \
|
||||||
OBJCOPY=$(OBJCOPY) LD=$(LD) CC=$(CC) AS=$(AS) \
|
OBJCOPY=$(OBJCOPY) LD=$(LD) CC=$(CC) AS=$(AS) \
|
||||||
SIGNATURE="$(SIGNATURE)" OPT_CFLAGS="-m68030" \
|
SIGNATURE="$(SIGNATURE)" \
|
||||||
OPTOBJS="$(OBJS_M68K) $(OBJS_SCSI)"
|
OPTOBJS="$(OBJS_M68K) $(OBJS_SCSI)"
|
||||||
mv m68k-scsi/second m68k-second_scsi
|
mv m68k-scsi/second m68k-second_scsi
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user