#Version has to be set in ../CMakeLists.txt too.
-VERSION=0.98r0
+#VERSION=0.98r2
+#VERSION=$(shell echo `grep IMACH_VERSION__ version.h | echo 'titi'`)
+VERSION=$(shell echo `grep IMACH_VERSION__ version.h | awk 'BEGIN { FS = "[ \t\n\"]+" } { print $$3 }'`)
+OSTYPE = $(shell echo $$OSTYPE)
# DRIVEG is for VirtualBox Windows 64bit
DRIVEG=f:
#DIRG is the corresponding build directory for Virtual Windows
pwd ;\
cmake ../..;\
cmake --build . ; \
+ echo $(OSTYPE);\
rm -rf imach$(VERSION).app;\
mkdir -p imach$(VERSION).app;\
mkdir -p imach$(VERSION).app/Contents;\