aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/nrvo_by_default/nmake.mk
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-10-25 05:25:12 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-10-25 05:25:12 +0300
commit4c0f75c2f634803d325f18df5f5a90f35905e3cc (patch)
tree1f7bd45aa827c74745f319b55adb0e4015413845 /nrvo_by_default/nmake.mk
parentfix license text (diff)
downloadblog-4c0f75c2f634803d325f18df5f5a90f35905e3cc.tar.gz
blog-4c0f75c2f634803d325f18df5f5a90f35905e3cc.zip
add nrvo_by_default/
Diffstat (limited to 'nrvo_by_default/nmake.mk')
-rw-r--r--nrvo_by_default/nmake.mk21
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