--- imach/src/Makefile 2015/09/30 17:43:12 1.71 +++ imach/src/Makefile 2015/09/30 18:35:53 1.72 @@ -1,5 +1,8 @@ #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 @@ -475,6 +478,7 @@ imachdmg : imachopt.o ../distributions/o pwd ;\ cmake ../..;\ cmake --build . ; \ + echo $(OSTYPE);\ rm -rf imach$(VERSION).app;\ mkdir -p imach$(VERSION).app;\ mkdir -p imach$(VERSION).app/Contents;\