pcsx2/fps2bios/Makefile
Jake.Stine 6ebfae8ef1 Re-Added eol-style:native properties to the repository. The settings got lost when we merged from Playground to Official.
Added interface.cpp (plugin/pcsx2 interface) and savestate.cpp to SPU2ghz, to help clean up SPU2.cpp.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@463 96395faa-99c1-11dd-bbfe-3dabce05a288
2009-02-09 21:15:56 +00:00

58 lines
1.2 KiB
Makefile

#
#
all: ps2romgen_exe romdir_exe romver_exe fps2bios
VERSION = 0
BUILD = 1
CC = gcc
RM = rm -f
STRIP = strip
OPTIMIZE = -O2 -fomit-frame-pointer -finline-functions -ffast-math
CFLAGS = -Wall ${OPTIMIZE} -I.
DIRS = kernel intro loader
FILES = RESET ROMDIR EXTINFO ROMVER IOPBOOT EELOAD \
SYSMEM LOADCORE EXCEPMAN INTRMAN SSBUSC DMACMAN \
TIMRMAN SYSCLIB HEAPLIB THREADMAN VBLANK STDIO \
SIFMAN SIFCMD SIO2MAN LOADER INTRO IOPBTCONF FP2BLOGO \
IOMAN MODLOAD ROMDRV IGREETING REBOOT LOADFILE CDVDMAN \
CDVDFSV SIFINIT FILEIO SECRMAN EESYNC
ps2romgen_exe: ps2romgen.o
${CC} ${CFLAGS} ps2romgen.o -o build/ps2romgen_exe
romdir_exe: romdir.o
${CC} ${CFLAGS} romdir.o -o build/romdir_exe
romver_exe: romver.o
${CC} ${CFLAGS} romver.o -o build/romver_exe
fps2bios:
for i in $(DIRS); do \
(cd $$i; make; cd ..) \
done;
cp -f used/* build
cp -f FP2BLOGO build
cp -f IOPBTCONF build/
(cd build; \
./romver_exe $(VERSION) $(BUILD); \
./romdir_exe $(FILES); \
./ps2romgen_exe fps2bios; \
cd ..)
cp build/fps2bios ../bin/bios
.PHONY: clean ps2romgen_exe romdir_exe fps2bios
clean:
${RM} *.o build/*
for i in $(DIRS); do \
(cd $$i; make clean; cd ..) \
done;
%.o: %.c
${CC} ${CFLAGS} -c -o $@ $<