forked from corecodec/coremake
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathgcc_ps2sdk.build
More file actions
37 lines (29 loc) · 781 Bytes
/
gcc_ps2sdk.build
File metadata and controls
37 lines (29 loc) · 781 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#define TARGET_PS2SDK
#define MIPS
#define RESOURCE_COREC
PLATFORMLIB = ps2sdk
SVNDIR = ps2sdk
#define OUTPUT_EXE %(NAME).elf
#define OUTPUT_CON %(NAME).elf
#define OUTPUT_DLL lib%(NAME).so
#define OUTPUT_DLL_LIB lib%(NAME).so
#define OUTPUT_LIB lib%(NAME).a
#define CC ee-gcc
#define CXX ee-gcc
#define AR ee-ar
#define STRIP ee-strip
#define STRIPFLAGS -s -x
#define GLIBC
#define CCFLAGS -O2 -G0 -ffast-math -Wno-multichar
#define LFLAGS -mno-crt0
#define SHFLAGS -shared -Wl,--strip-all
#define CORERCFLAGS -w -a 16
#define IOP_CC iop-gcc
#define IOP_CXX iop-gcc
#define IOP_AR iop-ar
#define IOP_STRIP
#define IOP_CCFLAGS -O2 -G0 -fno-builtin -Wno-multichar
#define IOP_SHFLAGS -s
#define IOP_LFLAGS -nostdlib
#define DVP_AS dvp-as
#include "gcc.inc"