forked from leecher1337/flashpatch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flashpatch.mak
182 lines (136 loc) · 4.83 KB
/
flashpatch.mak
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
# Microsoft Developer Studio Generated NMAKE File, Based on flashpatch.dsp
!IF "$(CFG)" == ""
CFG=flashpatch - Win32 Debug
!MESSAGE Keine Konfiguration angegeben. flashpatch - Win32 Debug wird als Standard verwendet.
!ENDIF
!IF "$(CFG)" != "flashpatch - Win32 Release" && "$(CFG)" != "flashpatch - Win32 Debug"
!MESSAGE Ungltige Konfiguration "$(CFG)" angegeben.
!MESSAGE Sie k”nnen beim Ausfhren von NMAKE eine Konfiguration angeben
!MESSAGE durch Definieren des Makros CFG in der Befehlszeile. Zum Beispiel:
!MESSAGE
!MESSAGE NMAKE /f "flashpatch.mak" CFG="flashpatch - Win32 Debug"
!MESSAGE
!MESSAGE Fr die Konfiguration stehen zur Auswahl:
!MESSAGE
!MESSAGE "flashpatch - Win32 Release" (basierend auf "Win32 (x86) Console Application")
!MESSAGE "flashpatch - Win32 Debug" (basierend auf "Win32 (x86) Console Application")
!MESSAGE
!ERROR Eine ungltige Konfiguration wurde angegeben.
!ENDIF
!IF "$(OS)" == "Windows_NT"
NULL=
!ELSE
NULL=nul
!ENDIF
CPP=cl.exe
RSC=rc.exe
!IF "$(CFG)" == "flashpatch - Win32 Release"
OUTDIR=.\Release
INTDIR=.\Release
# Begin Custom Macros
OutDir=.\Release
# End Custom Macros
ALL : "$(OUTDIR)\flashpatch.exe"
CLEAN :
-@erase "$(INTDIR)\addacl.obj"
-@erase "$(INTDIR)\flashpatch.obj"
-@erase "$(INTDIR)\res.res"
-@erase "$(INTDIR)\takeown.obj"
-@erase "$(INTDIR)\vc60.idb"
-@erase "$(OUTDIR)\flashpatch.exe"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP_PROJ=/nologo /MD /GS- /W3 /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fp"$(INTDIR)\flashpatch.pch" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
RSC_PROJ=/l 0xc07 /fo"$(INTDIR)\res.res" /d "NDEBUG"
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\flashpatch.bsc"
BSC32_SBRS= \
LINK32=link.exe
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\flashpatch.pdb" /out:"$(OUTDIR)\flashpatch.exe"
LINK32_OBJS= \
"$(INTDIR)\addacl.obj" \
"$(INTDIR)\flashpatch.obj" \
"$(INTDIR)\takeown.obj" \
"$(INTDIR)\res.res"
"$(OUTDIR)\flashpatch.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
!ELSEIF "$(CFG)" == "flashpatch - Win32 Debug"
OUTDIR=.\Debug
INTDIR=.\Debug
# Begin Custom Macros
OutDir=.\Debug
# End Custom Macros
ALL : "$(OUTDIR)\flashpatch.exe"
CLEAN :
-@erase "$(INTDIR)\addacl.obj"
-@erase "$(INTDIR)\flashpatch.obj"
-@erase "$(INTDIR)\res.res"
-@erase "$(INTDIR)\takeown.obj"
-@erase "$(INTDIR)\vc60.idb"
-@erase "$(INTDIR)\vc60.pdb"
-@erase "$(OUTDIR)\flashpatch.exe"
-@erase "$(OUTDIR)\flashpatch.ilk"
-@erase "$(OUTDIR)\flashpatch.pdb"
"$(OUTDIR)" :
if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
CPP_PROJ=/nologo /MTd /GS- /W3 /Gm /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Fp"$(INTDIR)\flashpatch.pch" /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
RSC_PROJ=/l 0xc07 /fo"$(INTDIR)\res.res" /d "_DEBUG"
BSC32=bscmake.exe
BSC32_FLAGS=/nologo /o"$(OUTDIR)\flashpatch.bsc"
BSC32_SBRS= \
LINK32=xilink6.exe
LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\flashpatch.pdb" /debug /out:"$(OUTDIR)\flashpatch.exe" /pdbtype:sept
LINK32_OBJS= \
"$(INTDIR)\addacl.obj" \
"$(INTDIR)\flashpatch.obj" \
"$(INTDIR)\takeown.obj" \
"$(INTDIR)\res.res"
"$(OUTDIR)\flashpatch.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
$(LINK32) @<<
$(LINK32_FLAGS) $(LINK32_OBJS)
<<
!ENDIF
.c{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.obj::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.c{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cpp{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
.cxx{$(INTDIR)}.sbr::
$(CPP) @<<
$(CPP_PROJ) $<
<<
!IF "$(NO_EXTERNAL_DEPS)" != "1"
!IF EXISTS("flashpatch.dep")
!INCLUDE "flashpatch.dep"
!ELSE
!MESSAGE Warning: cannot find "flashpatch.dep"
!ENDIF
!ENDIF
!IF "$(CFG)" == "flashpatch - Win32 Release" || "$(CFG)" == "flashpatch - Win32 Debug"
SOURCE=.\addacl.c
"$(INTDIR)\addacl.obj" : $(SOURCE) "$(INTDIR)"
SOURCE=.\flashpatch.c
"$(INTDIR)\flashpatch.obj" : $(SOURCE) "$(INTDIR)"
SOURCE=.\takeown.c
"$(INTDIR)\takeown.obj" : $(SOURCE) "$(INTDIR)"
SOURCE=.\res.rc
"$(INTDIR)\res.res" : $(SOURCE) "$(INTDIR)"
$(RSC) $(RSC_PROJ) $(SOURCE)
!ENDIF