/[pcsx2_0.9.7]/branch/r3113_0.9.7_beta/fps2bios/kernel/eeload/Makefile
ViewVC logotype

Contents of /branch/r3113_0.9.7_beta/fps2bios/kernel/eeload/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 32 - (show annotations) (download)
Tue Sep 7 03:29:01 2010 UTC (10 years, 10 months ago) by william
File size: 1988 byte(s)
branching from upstream revision (http://pcsx2.googlecode.com/svn/trunk
): r3113 to
https://svn.netsolutions.dnsalias.com/websvn/ps2/pcsx2/pcsx2_0.9.7/branch/r3113_0.9.7_beta
1 # _____ ___ ____
2 # ____| | ____| PSX2 OpenSource Project
3 # | ___| |____ (C)2002, David Ryan ( Oobles@hotmail.com )
4 # ------------------------------------------------------------------------
5
6 # Generated automatically from Makefile.in by configure.
7 #.SUFFIXES: .S .c .o .s .elf .irx
8
9 # ------------------------------------------------------------------------
10 # COMPILERS
11
12 IOPCC = iop-gcc
13 IOPAR = iop-ar
14 IOPLD = iop-ld
15 IOPAS = iop-as
16 EECC = ee-gcc
17 EEAR = ee-ar
18 EELD = ee-gcc
19
20
21 # ------------------------------------------------------------------------
22 # DIRECTORY PATHS & FLAGS
23
24
25 EECFLAGS = -O2 -fomit-frame-pointer -mips3 -EL -nostartfiles -G0 -D_EE --save-temps
26 EEINCLUDES = -I. -Iinclude -I$(PS2LIB)/common/include -I$(PS2LIB)/ee/include
27
28 IOPCFLAGS = -O2 -fomit-frame-pointer -nostartfiles
29 IOPINCLUDES = -I. -Iinclude -I$(PS2LIB)/common/include -I$(PS2LIB)/iop/include
30 IOPCOMPILE = $(IOPCC) $(IOPINCLUDES) $(IOPCFLAGS)
31 IOPLINK = $(IOPLD) -dc
32
33
34 # ------------------------------------------------------------------------
35 # PROJECTS TO BUILD
36
37 all: eeload
38
39
40 # ------------------------------------------------------------------------
41 # KERNEL BUILD INSTRUCTIONS
42
43 LDFLAGS = -L$(PS2LIB)/ee/lib
44 LDADD = -lmc -lpad -lc -lkernel
45 OBJECTS = eeirq.o eedata.o eekernel.o eeinit.o eeload.o eeelf.o eedebug.o romdir.o
46
47 eeload: $(OBJECTS)
48 $(EELD) -Wl,--oformat,binary,--Map,eeload.map -T linkfile $(EECFLAGS) $(OBJECTS) $(LDFLAGS) $(LDADD) -o ../../build/EELOAD
49
50 # restrict all but the kernel registers
51 eeirq.o: eeirq.c
52 $(EECC) $(EEINCLUDES) $(EECFLAGS) -ffixed-2 -ffixed-3 -ffixed-4 -ffixed-5 -ffixed-6 -ffixed-7 -ffixed-8 -ffixed-9 -ffixed-10 -ffixed-11 -ffixed-12 -ffixed-13 -ffixed-14 -ffixed-15 -ffixed-16 -ffixed-17 -ffixed-18 -ffixed-19 -ffixed-20 -ffixed-21 -ffixed-22 -ffixed-23 -ffixed-24 -ffixed-25 -fcall-used-26 -fcall-used-27 -ffixed-30 -o $@ -c $<
53 %.o: %.c
54 $(EECC) $(EEINCLUDES) $(EECFLAGS) -o $@ -c $<
55
56
57 clean:
58 rm -f $(OBJECTS) eeload
59
60
61

  ViewVC Help
Powered by ViewVC 1.1.22