ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/proj/OSVersion/OSVersion.mak
Revision: 368
Committed: 2008-08-23T02:44:00-07:00 (14 years, 3 months ago) by douglas
File size: 4491 byte(s)
Log Message:
Rearranged everything else.

File Contents

# Content
1 # Microsoft Developer Studio Generated NMAKE File, Based on OSVersion.dsp
2 !IF "$(CFG)" == ""
3 CFG=OSVersion - Win32 Debug
4 !MESSAGE No configuration specified. Defaulting to OSVersion - Win32 Debug.
5 !ENDIF
6
7 !IF "$(CFG)" != "OSVersion - Win32 Release" && "$(CFG)" != "OSVersion - Win32 Debug"
8 !MESSAGE Invalid configuration "$(CFG)" specified.
9 !MESSAGE You can specify a configuration when running NMAKE
10 !MESSAGE by defining the macro CFG on the command line. For example:
11 !MESSAGE
12 !MESSAGE NMAKE /f "OSVersion.mak" CFG="OSVersion - Win32 Debug"
13 !MESSAGE
14 !MESSAGE Possible choices for configuration are:
15 !MESSAGE
16 !MESSAGE "OSVersion - Win32 Release" (based on "Win32 (x86) Console Application")
17 !MESSAGE "OSVersion - Win32 Debug" (based on "Win32 (x86) Console Application")
18 !MESSAGE
19 !ERROR An invalid configuration is specified.
20 !ENDIF
21
22 !IF "$(OS)" == "Windows_NT"
23 NULL=
24 !ELSE
25 NULL=nul
26 !ENDIF
27
28 !IF "$(CFG)" == "OSVersion - Win32 Release"
29
30 OUTDIR=.\Release
31 INTDIR=.\Release
32 # Begin Custom Macros
33 OutDir=.\Release
34 # End Custom Macros
35
36 ALL : "$(OUTDIR)\OSVersion.exe"
37
38
39 CLEAN :
40 -@erase "$(INTDIR)\OSVersion.obj"
41 -@erase "$(INTDIR)\vc60.idb"
42 -@erase "$(OUTDIR)\OSVersion.exe"
43
44 "$(OUTDIR)" :
45 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
46
47 CPP=cl.exe
48 CPP_PROJ=/nologo /ML /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /Fp"$(INTDIR)\OSVersion.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /c
49
50 .c{$(INTDIR)}.obj::
51 $(CPP) @<<
52 $(CPP_PROJ) $<
53 <<
54
55 .cpp{$(INTDIR)}.obj::
56 $(CPP) @<<
57 $(CPP_PROJ) $<
58 <<
59
60 .cxx{$(INTDIR)}.obj::
61 $(CPP) @<<
62 $(CPP_PROJ) $<
63 <<
64
65 .c{$(INTDIR)}.sbr::
66 $(CPP) @<<
67 $(CPP_PROJ) $<
68 <<
69
70 .cpp{$(INTDIR)}.sbr::
71 $(CPP) @<<
72 $(CPP_PROJ) $<
73 <<
74
75 .cxx{$(INTDIR)}.sbr::
76 $(CPP) @<<
77 $(CPP_PROJ) $<
78 <<
79
80 RSC=rc.exe
81 BSC32=bscmake.exe
82 BSC32_FLAGS=/nologo /o"$(OUTDIR)\OSVersion.bsc"
83 BSC32_SBRS= \
84
85 LINK32=link.exe
86 LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:no /pdb:"$(OUTDIR)\OSVersion.pdb" /machine:I386 /out:"$(OUTDIR)\OSVersion.exe"
87 LINK32_OBJS= \
88 "$(INTDIR)\OSVersion.obj"
89
90 "$(OUTDIR)\OSVersion.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
91 $(LINK32) @<<
92 $(LINK32_FLAGS) $(LINK32_OBJS)
93 <<
94
95 !ELSEIF "$(CFG)" == "OSVersion - Win32 Debug"
96
97 OUTDIR=.\Debug
98 INTDIR=.\Debug
99 # Begin Custom Macros
100 OutDir=.\Debug
101 # End Custom Macros
102
103 ALL : "$(OUTDIR)\OSVersion.exe"
104
105
106 CLEAN :
107 -@erase "$(INTDIR)\OSVersion.obj"
108 -@erase "$(INTDIR)\vc60.idb"
109 -@erase "$(INTDIR)\vc60.pdb"
110 -@erase "$(OUTDIR)\OSVersion.exe"
111 -@erase "$(OUTDIR)\OSVersion.ilk"
112 -@erase "$(OUTDIR)\OSVersion.pdb"
113
114 "$(OUTDIR)" :
115 if not exist "$(OUTDIR)/$(NULL)" mkdir "$(OUTDIR)"
116
117 CPP=cl.exe
118 CPP_PROJ=/nologo /MLd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /Fp"$(INTDIR)\OSVersion.pch" /YX /Fo"$(INTDIR)\\" /Fd"$(INTDIR)\\" /FD /GZ /c
119
120 .c{$(INTDIR)}.obj::
121 $(CPP) @<<
122 $(CPP_PROJ) $<
123 <<
124
125 .cpp{$(INTDIR)}.obj::
126 $(CPP) @<<
127 $(CPP_PROJ) $<
128 <<
129
130 .cxx{$(INTDIR)}.obj::
131 $(CPP) @<<
132 $(CPP_PROJ) $<
133 <<
134
135 .c{$(INTDIR)}.sbr::
136 $(CPP) @<<
137 $(CPP_PROJ) $<
138 <<
139
140 .cpp{$(INTDIR)}.sbr::
141 $(CPP) @<<
142 $(CPP_PROJ) $<
143 <<
144
145 .cxx{$(INTDIR)}.sbr::
146 $(CPP) @<<
147 $(CPP_PROJ) $<
148 <<
149
150 RSC=rc.exe
151 BSC32=bscmake.exe
152 BSC32_FLAGS=/nologo /o"$(OUTDIR)\OSVersion.bsc"
153 BSC32_SBRS= \
154
155 LINK32=link.exe
156 LINK32_FLAGS=kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:yes /pdb:"$(OUTDIR)\OSVersion.pdb" /debug /machine:I386 /out:"$(OUTDIR)\OSVersion.exe" /pdbtype:sept
157 LINK32_OBJS= \
158 "$(INTDIR)\OSVersion.obj"
159
160 "$(OUTDIR)\OSVersion.exe" : "$(OUTDIR)" $(DEF_FILE) $(LINK32_OBJS)
161 $(LINK32) @<<
162 $(LINK32_FLAGS) $(LINK32_OBJS)
163 <<
164
165 !ENDIF
166
167
168 !IF "$(NO_EXTERNAL_DEPS)" != "1"
169 !IF EXISTS("OSVersion.dep")
170 !INCLUDE "OSVersion.dep"
171 !ELSE
172 !MESSAGE Warning: cannot find "OSVersion.dep"
173 !ENDIF
174 !ENDIF
175
176
177 !IF "$(CFG)" == "OSVersion - Win32 Release" || "$(CFG)" == "OSVersion - Win32 Debug"
178 SOURCE=.\OSVersion.cpp
179
180 "$(INTDIR)\OSVersion.obj" : $(SOURCE) "$(INTDIR)"
181
182
183
184 !ENDIF
185