Fix Windows compilation
@@ -2,10 +2,12 @@ mkdir %LIBRARY_INC%\cspice
cd %SRC_DIR%\src\cspice
-makeDynamicSpice.bat
+call makeDynamicSpice.bat
copy "cspice.dll" %LIBRARY_LIB%
+if errorlevel 1 exit 1
+
cd %SRC_DIR%
copy "include\\*.h" %LIBRARY_INC%\cspice
