
del obj\*

rem GNU Ada 32-bit build script


PATH=c:\MinGW\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 built adaventure32.exe:
gnatmake.exe adaventure ^
 -o adaventure32 ^
 -O3 -gnat12 ^
 -D obj ^
 -Isrc ^
 -Isrc\adautils ^
 -Isrc\adabindings\gl ^
 -Isrc\adabindings\glfwada ^
 -Isrc\adabindings\AdaPngLib ^
 -Isrc\adabindings\adaOpenAL ^
 -Isrc\adabindings\adaOpenAL\OalBinding ^
 -Isrc\adabindings\Tables ^
 -Isrc\adabindings\FreeTypeAda ^
 -largs -lstdc++ ^
 oal.o ^
 -lOpenGL32 -lGdi32 -lwinmm ^
 	binw32\openal32.dll ^
 	binw32\freetype.dll ^
	-Llibs\w32ming ^
	-lglext ^
	-lglfw3dll ^
	-lz

move adaventure32.exe binw32\

