
del obj\*

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

rem build libsnd4ada.a:
c:\gnat64\2019\bin\ar ^
  -crs libs\w64ming\libsnd4ada.a snd4ada.o

del snd4ada.o

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

c:\gnat64\2019\bin\gnatmake.exe adagate ^
 -o adagate64 ^
 -O3 -gnat12 -m64^
 -D obj ^
 -Isrc ^
 -Iadautils ^
 -Iadabindings\gl ^
 -Iadabindings\glfwada ^
 -Iadabindings\AdaPngLib ^
 -Iadabindings\sfmlAudio ^
 -largs ^
 -lOpenGL32 -lGdi32 -lwinmm ^
 	binw64\glfw3.dll ^
	-Llibs\w64ming ^
	-lglext -lsnd4ada ^
	-lsfml250-audio -lsfml250-system ^
	-lopenal32 -logg -lFLAC ^
	-lvorbis -lvorbisenc -lvorbisfile ^
	-lz-1.2.11-64-730 -lstdc++

move adagate64.exe binw64\

