/[pcsx2_0.9.7]/trunk/fps2bios/kernel/iopload/sysclib/Makefile
ViewVC logotype

Contents of /trunk/fps2bios/kernel/iopload/sysclib/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 10 - (show annotations) (download)
Mon Sep 6 11:40:06 2010 UTC (9 years, 5 months ago) by william
File size: 1613 byte(s)
exported r3113 from ./upstream/trunk
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
26 EEINCLUDES = -I. -Iinclude -I$(PS2LIB)/common/include -I$(PS2LIB)/ee/include -I$(NEWLIB)/include
27
28 IOPCFLAGS = -O2 -fomit-frame-pointer -nostartfiles -G0
29 IOPINCLUDES = -I. -I../include -I$(PS2LIB)/common/include -I$(PS2LIB)/iop/include
30 IOPCOMPILE = $(IOPCC) $(IOPINCLUDES) $(IOPCFLAGS)
31 IOPLINK = $(IOPLD) -dc
32 IOPASFLAGS := -EL -G0
33
34
35 # ------------------------------------------------------------------------
36 # PROJECTS TO BUILD
37
38 all: sysclib
39
40
41 # ------------------------------------------------------------------------
42 # KERNEL BUILD INSTRUCTIONS
43
44 LDFLAGS = -L$(PS2LIB)/iop/lib
45 LDADD =
46 OBJECTS = sysclib.o ../iopdebug.o ../libkernel/iop_loadcore.o
47
48 sysclib: $(OBJECTS)
49 $(IOPLINK) $(OBJECTS) $(LDFLAGS) $(LDADD) -o ../../../build/SYSCLIB
50
51 %.o: %.c
52 $(IOPCC) $(IOPINCLUDES) $(IOPCFLAGS) -o $@ -c $<
53
54 %.o : %.s
55 $(IOPAS) $(IOPASFLAGS) $< -o $@
56
57 clean:
58 rm -f $(OBJECTS)
59

  ViewVC Help
Powered by ViewVC 1.1.22