
rem using 64-bit GNU Ada:
rem first, use setpath64



gnatmake.exe %1 -o %1 ^
 -O3 -gnat12 -m64 ^
 -D obj ^
 -I..\src ^
 -I..\src\adabindings\gl ^
 -I..\src\adabindings\glfwada ^
 -I..\src\adabindings\AdaPngLib ^
 -I..\src\adabindings\adaOpenAL ^
 -I..\src\adabindings\adaOpenAL\OalBinding ^
 -I..\src\adabindings\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 ^
	..\binw64\freetype.dll ^
	-L..\libs\w64ming ^
	-lglfw3dll


move %1.exe ..\binw64\

