|
|
@DREAMCAST@ | @DREAMCAST@ |
CHEATS=1 | CHEATS=1 |
2XSAI=1 | 2XSAI=1 |
|
EXTRALIBS=@LDFLAGS@ |
| |
#Fairly good and special-char-safe descriptor of the os being built on. | #Fairly good and special-char-safe descriptor of the os being built on. |
OS=`uname -s -r -m|sed \"s/ /-/g\"|tr \"[A-Z]\" \"[a-z]\"|tr \"/()\" \"___\"` | OS=`uname -s -r -m|sed \"s/ /-/g\"|tr \"[A-Z]\" \"[a-z]\"|tr \"/()\" \"___\"` |
|
|
OPTIMISE=-O4 -ffreestanding -ffast-math -fschedule-insns2 -fomit-frame-pointer -fno-inline-functions -fno-defer-pop -fforce-addr -fstrict-aliasing -funroll-loops -fdelete-null-pointer-checks -fno-exceptions | OPTIMISE=-O4 -ffreestanding -ffast-math -fschedule-insns2 -fomit-frame-pointer -fno-inline-functions -fno-defer-pop -fforce-addr -fstrict-aliasing -funroll-loops -fdelete-null-pointer-checks -fno-exceptions |
CPUFLAGS=-ml -m4-single-only | CPUFLAGS=-ml -m4-single-only |
else | else |
OPTIMISE = @OPTIMIZE@ |
OPTIMISE = @CFLAGS@ |
endif | endif |
| |
DEFS += \ | DEFS += \ |
|
|
OFFSET= | OFFSET= |
endif | endif |
| |
offsets: offsets.o |
offsets: offsets.cpp |
$(CCC) $(INCLUDES) -o $@ offsets.o |
$(CCC) $(EXTRALIBS) $(INCLUDES) -o $@ offsets.cpp |
./offsets >$(CPU)/offsets.h | ./offsets >$(CPU)/offsets.h |
| |
#../zlib/libz.a: | #../zlib/libz.a: |