
del obj\*

rem build snd4ada.o:
c:\gnat\2017\bin\g++ ^
 adabindings\sfmlAudio\snd4ada.cpp -c ^
 -std=c++11 -IincSFML250

rem build libsnd4ada.a:
c:\gnat\2017\bin\ar ^
  -crs libs\w32ming\libsnd4ada.a snd4ada.o

del snd4ada.o

rem -----------------------------------------------

c:\gnat\2017\bin\gnatmake.exe adaventure ^
 -o adaventure32 ^
 -O3 -gnat12 ^
 -D obj ^
 -Isrc ^
 -Iadautils ^
 -Iadabindings\gl ^
 -Iadabindings\glfwada ^
 -Iadabindings\AdaPngLib ^
 -Iadabindings\sfmlAudio ^
 -Iadabindings\Tables ^
 -Iadabindings\FreeTypeAda ^
 -largs ^
 -lOpenGL32 -lGdi32 -lwinmm ^
 	binw32\glfw3.dll ^
	-Llibs\w32ming ^
	-lglext -lfreetype -lsnd4ada ^
	-lsfml250-audio -lsfml250-system ^
	-lopenal32 -logg -lFLAC ^
	-lvorbis -lvorbisenc -lvorbisfile ^
	-lz -lstdc++

move adaventure32.exe binw32\

