diff --git a/wmake/wmake b/wmake/wmake index ec46d3f83d..88b227e17b 100755 --- a/wmake/wmake +++ b/wmake/wmake @@ -88,6 +88,7 @@ options: -show-cxxflags Print C++ compiler flags -show-cflags-arch The C compiler arch flag (eg, -m64 etc) -show-cxxflags-arch The C++ compiler arch flag (eg, -m64 etc) + -version | --version Print the api value -h | -help Print the usage @@ -196,6 +197,11 @@ do update=true : ${all:=all} # implies 'all', unless previous set to 'queue' etc. ;; + -version | --version) + $make -f $WM_DIR/makefiles/info api + optShow=true + break; + ;; --) shift break