diff options
Diffstat (limited to '')
-rw-r--r-- | nrvo_by_default/nmake.mk | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/nrvo_by_default/nmake.mk b/nrvo_by_default/nmake.mk new file mode 100644 index 0000000..45aefd4 --- /dev/null +++ b/nrvo_by_default/nmake.mk @@ -0,0 +1,21 @@ +CXXFLAGS = /nologo /W4 /EHsc /MT /DNDEBUG + +all: rvo.cl.Od.exe rvo.cl.O1.exe rvo.cl.O2.exe rvo.cl.Ox.exe + +rvo.cl.Od.exe: rvo.cpp + $(CXX) $(CXXFLAGS) /Od /Fe:$@ $** + +rvo.cl.O1.exe: rvo.cpp + $(CXX) $(CXXFLAGS) /O1 /Fe:$@ $** + +rvo.cl.O2.exe: rvo.cpp + $(CXX) $(CXXFLAGS) /O2 /Fe:$@ $** + +rvo.cl.Ox.exe: rvo.cpp + $(CXX) $(CXXFLAGS) /Ox /Fe:$@ $** + +clean: + del rvo.obj + +clean-all: clean + del rvo.cl.*.exe |