diff --git a/wmake/makefiles/info b/wmake/makefiles/info
index 600399a173eb769f5b59484970e23b486768528a..c43841dcf71c531985dedc800e7eccb2ff08c78a 100644
--- a/wmake/makefiles/info
+++ b/wmake/makefiles/info
@@ -31,6 +31,13 @@ SHELL   = /bin/sh
 .SUFFIXES:
 
 
+#------------------------------------------------------------------------------
+# Some default values
+#------------------------------------------------------------------------------
+
+# Shared library extension (with '.' separator)
+EXT_SO  = .so
+
 #------------------------------------------------------------------------------
 # Compilation rules
 #------------------------------------------------------------------------------
@@ -38,34 +45,44 @@ SHELL   = /bin/sh
 GENERAL_RULES = $(WM_DIR)/rules/General
 include $(GENERAL_RULES)/general
 
+# Commands
+COMPILE_C    := $(strip $(cc) $(cFLAGS))
+COMPILE_CXX  := $(strip $(CC) $(c++FLAGS))
 
 #------------------------------------------------------------------------------
 # Display information
 #------------------------------------------------------------------------------
 
-.PHONY: compile
-compile:
-	@echo "$(strip $(CC) $(c++FLAGS))"
-
 .PHONY: api
 api:
-	@echo "$(WM_VERSION)" | sed -e 's/^.*=//'
+	@echo "$(lastword $(subst =, ,$(WM_VERSION)))"
+
+.PHONY: ext-so
+ext-so:
+	@echo "$(EXT_SO)"
+
+.PHONY: compile-c
+compile-c:
+	@echo "$(COMP_C)"
 
 .PHONY: c
 c:
-	@echo "$(strip $(cc))"
+	@echo "$(firstword $(cc))"
 
 .PHONY: cflags
 cflags:
-	@echo "$(strip $(cFLAGS))"
+	@echo "$(wordlist 2,$(words $(COMPILE_C)), $(COMPILE_C))"
+
+.PHONY: compile-cxx
+compile-cxx:
+	@echo "$(COMPILE_CXX)"
 
 .PHONY: cxx
 cxx:
-	@echo "$(strip $(CC))"
+	@echo "$(firstword $(CC))"
 
 .PHONY: cxxflags
 cxxflags:
-	@echo "$(strip $(c++FLAGS))"
-
+	@echo "$(wordlist 2,$(words $(COMPILE_CXX)), $(COMPILE_CXX))"
 
 #----------------------------- vim: set ft=make: ------------------------------
diff --git a/wmake/wmake b/wmake/wmake
index 20fef12ae3e92109eb26b78ffa61bb6b1132dafa..225f0e780f6d88cf3fecb2e45e907f47c2e6b6bb 100755
--- a/wmake/wmake
+++ b/wmake/wmake
@@ -77,7 +77,11 @@ options:
   -pwd              Print root directory containing a Make/ directory
   -update           Update lnInclude dirs, dep files, remove deprecated files/dirs
   -show-api         Print api value
-  -show-compile     Print C++ compiler value and flags (shortcut: -show)
+  -show-ext-so      Print shared library extension (with '.' separator)
+  -show-compile-c   Same as '-show-c -show-cflags'
+  -show-compile-cxx Same as '-show-cxx -show-cxxflags'
+  -show-c           Print C compiler value
+  -show-cflags      Print C compiler flags
   -show-cxx         Print C++ compiler value
   -show-cxxflags    Print C++ compiler flags
   -h | -help        Print the usage
@@ -136,11 +140,9 @@ do
         -s | -silent)
             export WM_QUIET=true
             ;;
-        -show | -show-compile)
-            $make -f $WM_DIR/makefiles/info compile
-            optShow=true
-            ;;
-        -show-api | -show-cxx | -show-cxxflags | -show-c | -show-cflags)
+        -show-api | -show-ext-so | \
+        -show-compile-c | -show-c | -show-cflags | \
+        -show-compile-cxx | -show-cxx | -show-cxxflags)
             $make -f $WM_DIR/makefiles/info "${1#-show-}"
             optShow=true
             ;;