
rem GNU Ada 32-bit build script
rem PATH=c:\MinGW\bin;%PATH%
rem use setpath32



gnatmake.exe %1 -o %1 ^
 -O3 -gnat12 ^
 -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 ^
 	..\binw32\openal32.dll ^
 	..\binw32\libstdc++-6.dll ^
	..\binw32\libgcc_s_dw2-1.dll ^
 	..\binw32\zlib1.dll ^
	..\binw32\glext.dll ^
	..\binw32\freetype.dll ^
	-L..\libs\w32ming ^
	-lglfw3dll


move %1.exe ..\binw32\

