
rem -- Copyright (C) 2022  <fastrgv@gmail.com>
rem --
rem -- This program is free software: you can redistribute it and/or modify
rem -- it under the terms of the GNU General Public License as published by
rem -- the Free Software Foundation, either version 3 of the License, or
rem -- (at your option) any later version.
rem --
rem -- This program is distributed in the hope that it will be useful,
rem -- but WITHOUT ANY WARRANTY; without even the implied warranty of
rem -- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
rem -- GNU General Public License for more details.
rem --
rem -- You may read the full text of the GNU General Public License
rem -- at <http://www.gnu.org/licenses/>.

rem 64-bit AdaCore script


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

gnatmake.exe asud -o sud ^
 -O3 -gnat12 -m64 ^
 -D obj ^
 -I..\src ^
 -I..\src\adautils ^
 -I..\src\adabindings\gl ^
 -I..\src\adabindings\glfwada ^
 -I..\src\adabindings\AdaPngLib ^
 -largs ^
 -lOpenGL32 -lGdi32 -lwinmm ^
 	..\binw64\glext.lib ^
 	..\binw64\libstdc++-6.dll ^
 	..\binw64\zlib1.dll ^
	-L..\libs\w64 ^
	-lglfw3dll


move sud.exe ..\binw64\

