
rem the AdaCore 64-bit script


rem build rufascube.exe:
c:\gnat64\2020\bin\gnatmake.exe %1 -o %1 ^
 -O3 -gnat12 -m64 ^
 -D obj ^
 -Isrc ^
 -Iadabindings\gl ^
 -Iadabindings\glfwada ^
 -Iadabindings\AdaPngLib ^
 -Iadabindings\adaOpenAL ^
 -Iadabindings\adaOpenAL\OalBinding ^
 -Iadabindings\FreeTypeAda ^
 -largs ^
 oal.o ^
 -lOpenGL32 -lGdi32 -lwinmm ^
 	binw64\openal32.dll ^
 	binw64\libstdc++-6.dll ^
	binw64\libgcc_s_seh-1.dll ^
 	binw64\zlib1.dll ^
	binw64\glext.lib ^
	-Llibs\w64ming ^
	-lglfw3dll ^
	-lfreetype


move %1.exe binw64\

rem	I suspect the following is no longer needed:
rem 	binw64\glfw3.dll ^
