summaryrefslogtreecommitdiff
path: root/cpp/src/slice2cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/slice2cpp')
-rw-r--r--cpp/src/slice2cpp/Makefile.mak7
1 files changed, 2 insertions, 5 deletions
diff --git a/cpp/src/slice2cpp/Makefile.mak b/cpp/src/slice2cpp/Makefile.mak
index 9cf84234f74..fb9a69e62c0 100644
--- a/cpp/src/slice2cpp/Makefile.mak
+++ b/cpp/src/slice2cpp/Makefile.mak
@@ -45,20 +45,17 @@ clean::
install:: all
copy $(NAME) $(install_bindir)
-!if "$(OPTIMIZE)" != "yes"
-!if "$(CPP_COMPILER)" == "BCC2007"
+!if "$(CPP_COMPILER)" == "BCC2007" && "$(OPTIMIZE)" != "yes"
install:: all
copy $(NAME:.exe=.tds) $(install_bindir)
-!else
+!elseif "$(GENERATE_PDB)" == "yes"
install:: all
copy $(NAME:.exe=.pdb) $(install_bindir)
!endif
-!endif
-
!include .depend