
del obj\*


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



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 adagate32 ^
 -O3 -gnat12 ^
 -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 ^
 	binw32\openal32.dll ^
 	binw32\glfw3.dll ^
	-Llibs\w32ming ^
	-lglext -lglfw3dll -lz

move adagate32.exe binw32\


