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

Annotation of /branch/r3113_0.9.7_beta/fps2bios/intro/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31 - (hide annotations) (download)
Tue Sep 7 03:24:11 2010 UTC (10 years, 10 months ago) by william
Original Path: trunk/fps2bios/intro/Makefile
File size: 1367 byte(s)
committing r3113 initial commit again...
1 william 31 # _____ ___ ____
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
26     EEINCLUDES = -I. -Iinclude -I$(PS2LIB)/common/include -I$(PS2LIB)/ee/include
27    
28    
29     # ------------------------------------------------------------------------
30     # PROJECTS TO BUILD
31    
32     all: intro
33    
34    
35     # ------------------------------------------------------------------------
36     # KERNEL BUILD INSTRUCTIONS
37    
38     LDFLAGS = -L$(PS2LIB)/ee/lib
39     LDADD = -lmc -lpad -lc -lkernel -lm
40     OBJECTS = intro.o eedebug.o crt0.o romdir.o
41     DEST = ../build/INTRO
42    
43     intro: $(OBJECTS)
44     $(EELD) -T linkfile $(EECFLAGS) $(OBJECTS) $(LDFLAGS) $(LDADD) -o $(DEST)
45    
46     %.o: %.c
47     $(EECC) $(EEINCLUDES) $(EECFLAGS) -o $@ -c $<
48    
49     %.o: %.s
50     $(EECC) $(EEINCLUDES) $(EECFLAGS) -o $@ -c $<
51    
52    
53     clean:
54     rm -f $(OBJECTS) $(DEST)
55    
56    
57    

  ViewVC Help
Powered by ViewVC 1.1.22