
del obj\*


rem using 64-bit GNU Ada:
PATH=c:\msys64\mingw64\bin;%PATH%



rem build oal.o:
g++ ^
 src\adabindings\adaOpenAL\OalBinding\oal.cpp -c ^
 -D obj ^
 -Isrc\adabindings\adaOpenAL\OalBinding ^
 -Isrc\adabindings\adaOpenAL\OalBinding\incoal



rem build adagate.exe:
gnatmake.exe adagate ^
 -o adagate64 ^
 -O3 -gnat12 -m64 ^
 -D obj ^
 -Isrc ^
 -Isrc\adautils ^
 -Isrc\adabindings\gl ^
 -Isrc\adabindings\glfwada ^
 -Isrc\adabindings\AdaPngLib ^
 -Isrc\adabindings\adaOpenAL ^
 -Isrc\adabindings\adaOpenAL\OalBinding ^
 -largs  -lstdc++ ^
 oal.o ^
 -lOpenGL32 -lGdi32 -lwinmm ^
 	binw64\openal32.dll ^
 	binw64\glfw3.dll ^
 	binw64\glext.lib ^
 	binw64\zlib1.dll ^
	-Llibs\w64ming ^
	-lglfw3dll

move adagate64.exe binw64\


