/[pcsx2_0.9.7]/trunk/plugins/CDVDpeops/Makefile.win
ViewVC logotype

Contents of /trunk/plugins/CDVDpeops/Makefile.win

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31 - (show annotations) (download)
Tue Sep 7 03:24:11 2010 UTC (9 years, 10 months ago) by william
File size: 2771 byte(s)
committing r3113 initial commit again...
1 # Project: cdvdPeops
2 # Makefile created by Dev-C++ 4.9.9.0
3
4 CPP = g++.exe
5 CC = gcc.exe
6 WINDRES = windres.exe
7 RES = cdvdPeops_private.res
8 OBJ = Release/cdr.o Release/cdvdPeops.o Release/cfg.o Release/generic.o Release/ioctrl.o Release/ppf.o Release/read.o Release/scsi.o Release/StdAfx.o Release/sub.o Release/toc.o Release/cdda.o Release/i386.o $(RES)
9 LINKOBJ = Release/cdr.o Release/cdvdPeops.o Release/cfg.o Release/generic.o Release/ioctrl.o Release/ppf.o Release/read.o Release/scsi.o Release/StdAfx.o Release/sub.o Release/toc.o Release/cdda.o Release/i386.o $(RES)
10 LIBS = -L"D:/vs/Dev-Cpp/lib" -lkernel32 -luser32 -ladvapi32 -lcomdlg32 --add-stdcall-alias
11 INCS = -I"D:/vs/Dev-Cpp/include" -I"d:/vs/vc98/MFC/include"
12 CXXINCS = -I"D:/vs/Dev-Cpp/include/c++" -I"D:/vs/Dev-Cpp/include/c++/mingw32" -I"D:/vs/Dev-Cpp/include/c++/backward" -I"D:/vs/Dev-Cpp/include" -I"d:/vs/vc98/MFC/include"
13 BIN = ../../../emus/pcsx2_0.6/plugins/cdvdPeops.dll
14 CXXFLAGS = $(CXXINCS) -D__GNUWIN32__ -mcpu=pentium -D_M_IX86=500 -W -DWIN32 -DNDEBUG -D_WINDOWS -D_GCC -fexpensive-optimizations -O3
15 CFLAGS = $(INCS) -D__GNUWIN32__ -mcpu=pentium -D_M_IX86=500 -W -DWIN32 -DNDEBUG -D_WINDOWS -D_GCC -fexpensive-optimizations -O3
16
17 .PHONY: all all-before all-after clean clean-custom
18
19 all: all-before ../../../emus/pcsx2_0.6/plugins/cdvdPeops.dll all-after
20
21
22 clean: clean-custom
23 rm -f $(OBJ) $(BIN)
24
25 DLLWRAP=dllwrap.exe
26 DEFFILE=../../../emus/pcsx2_0.6/plugins/libcdvdPeops.def
27 STATICLIB=../../../emus/pcsx2_0.6/plugins/libcdvdPeops.a
28
29 $(BIN): $(LINKOBJ)
30 $(DLLWRAP) --output-def $(DEFFILE) --driver-name c++ --implib $(STATICLIB) $(LINKOBJ) $(LIBS) -o $(BIN)
31
32 Release/cdr.o: cdr.c
33 $(CC) -c cdr.c -o Release/cdr.o $(CFLAGS)
34
35 Release/cdvdPeops.o: cdvdPeops.c
36 $(CC) -c cdvdPeops.c -o Release/cdvdPeops.o $(CFLAGS)
37
38 Release/cfg.o: cfg.c
39 $(CC) -c cfg.c -o Release/cfg.o $(CFLAGS)
40
41 Release/generic.o: generic.c
42 $(CC) -c generic.c -o Release/generic.o $(CFLAGS)
43
44 Release/ioctrl.o: ioctrl.c
45 $(CC) -c ioctrl.c -o Release/ioctrl.o $(CFLAGS)
46
47 Release/ppf.o: ppf.c
48 $(CC) -c ppf.c -o Release/ppf.o $(CFLAGS)
49
50 Release/read.o: read.c
51 $(CC) -c read.c -o Release/read.o $(CFLAGS)
52
53 Release/scsi.o: scsi.c
54 $(CC) -c scsi.c -o Release/scsi.o $(CFLAGS)
55
56 Release/StdAfx.o: StdAfx.c
57 $(CC) -c StdAfx.c -o Release/StdAfx.o $(CFLAGS)
58
59 Release/sub.o: sub.c
60 $(CC) -c sub.c -o Release/sub.o $(CFLAGS)
61
62 Release/toc.o: toc.c
63 $(CC) -c toc.c -o Release/toc.o $(CFLAGS)
64
65 Release/cdda.o: cdda.c
66 $(CC) -c cdda.c -o Release/cdda.o $(CFLAGS)
67
68 Release/i386.o: i386.asm
69 nasmw.exe -f win32 -D__WIN32__ -D__i386__ i386.asm -o release\i386.o
70
71 cdvdPeops_private.res: cdvdPeops_private.rc ../../../src/cdvdPeops/src/cdvdPeops.rc
72 $(WINDRES) -i cdvdPeops_private.rc -I rc -o cdvdPeops_private.res -O coff

  ViewVC Help
Powered by ViewVC 1.1.22