diff --git a/BuildLinux.sh b/BuildLinux.sh index dae0d724..44f655fc 100755 --- a/BuildLinux.sh +++ b/BuildLinux.sh @@ -1,5 +1,7 @@ #! /bin/bash +rm StandAlone/StandAlone + # build the StandAlone app and all it's dependencies make -C StandAlone diff --git a/StandAlone/StandAlone.cpp b/StandAlone/StandAlone.cpp index 0b1d65aa..31f17253 100644 --- a/StandAlone/StandAlone.cpp +++ b/StandAlone/StandAlone.cpp @@ -207,10 +207,12 @@ int C_DECL main(int argc, char* argv[]) ShDestruct(linker); ShDestruct(uniformMap); +#ifdef _WIN32 if (delay) Sleep(1000000); } +#endif if (compileFailed) return EFailCompile;