/[pcsx2_0.9.7]/branch/debug/0.X/0.9.X/0.9.7/r3113/fps2bios/Makefile
ViewVC logotype

Annotation of /branch/debug/0.X/0.9.X/0.9.7/r3113/fps2bios/Makefile

Parent Directory Parent Directory | Revision Log Revision Log


Revision 53 - (hide annotations) (download)
Tue Sep 7 04:47:49 2010 UTC (10 years, 9 months ago) by william
Original Path: branch/r3113_0.9.7_beta_reference/fps2bios/Makefile
File size: 1102 byte(s)
rename branch: r3113_0.9.7_beta to r3113_0.9.7_beta_refernce
1 william 31 #
2     #
3    
4     all: ps2romgen_exe romdir_exe romver_exe fps2bios
5    
6     VERSION = 0
7     BUILD = 1
8    
9     CC = gcc
10     RM = rm -f
11     STRIP = strip
12    
13     OPTIMIZE = -O2 -fomit-frame-pointer -finline-functions -ffast-math
14     CFLAGS = -Wall ${OPTIMIZE} -I.
15     DIRS = kernel intro loader
16     FILES = RESET ROMDIR ROMVER IOPBOOT EELOAD \
17     SYSMEM LOADCORE EXCEPMAN INTRMAN SSBUSC DMACMAN \
18     TIMRMAN SYSCLIB HEAPLIB THREADMAN VBLANK STDIO \
19     SIFMAN SIFCMD SIO2MAN LOADER INTRO IOPBTCONF FP2BLOGO
20    
21     ps2romgen_exe: ps2romgen.o
22     ${CC} ${CFLAGS} ps2romgen.o -o build/ps2romgen_exe
23    
24     romdir_exe: romdir.o
25     ${CC} ${CFLAGS} romdir.o -o build/romdir_exe
26    
27     romver_exe: romver.o
28     ${CC} ${CFLAGS} romver.o -o build/romver_exe
29    
30     fps2bios:
31     for i in $(DIRS); do \
32     (cd $$i; make; cd ..) \
33     done;
34     cp -f FP2BLOGO build
35     cp -f IOPBTCONF build/
36     (cd build; \
37     ./romver_exe $(VERSION) $(BUILD); \
38     ./romdir_exe $(FILES); \
39     ./ps2romgen_exe fps2bios; \
40     cd ..)
41     cp build/fps2bios ../bin/bios
42    
43     .PHONY: clean ps2romgen_exe romdir_exe fps2bios
44    
45     clean:
46     ${RM} *.o build/*
47     for i in $(DIRS); do \
48     (cd $$i; make clean; cd ..) \
49     done;
50    
51     %.o: %.c
52     ${CC} ${CFLAGS} -c -o $@ $<
53    
54    

  ViewVC Help
Powered by ViewVC 1.1.22