-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
27 lines (22 loc) · 723 Bytes
/
Makefile
File metadata and controls
27 lines (22 loc) · 723 Bytes
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
all: help
help:
@type <<
nmake build Build the executable file.
nmake clean Clean all intermediate files.
nmake help Show help for this Makefile. (default target)
<<
CL_OPTIMIZATION=/O2
CL_CODE_GENERATION=/GS /GL /Gy /Gm-
CL_PREPROCESSOR=/D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_UNICODE" /D "UNICODE"
CL_LANGUAGE=/Zi /Zc:wchar_t /Zc:inline /Zc:forScope
CL_LINKING=/MT
CL_CODE_ANALYSIS=/analyze-
CL_DIAGNOSTICS=/W3 /WX- /sdl /diagnostics:column
CL_MISCELLANEOUS=/nologo
CL_SWITCH=$(CL_OPTIMIZATION) $(CL_CODE_GENERATION) $(CL_PREPROCESSOR) $(CL_LANGUAGE) $(CL_LINKING) $(CL_CODE_ANALYSIS) $(CL_DIAGNOSTICS) $(CL_MISCELLANEOUS)
build:
cl.exe $(CL_SWITCH) GdiRes.cpp
clean:
del *.exe
del *.obj
del *.pdb