
rem GNU Ada 64-bit build script
rem first, use setpath64


rem <main> = %1

rem create <main>.o from <main>.cpp:
g++ ^
	-c %1.cpp -I.


gnatbind -n snd4ada


rem create <main>.exe:
gnatlink ^
	snd4ada -o %1 ^
	-m64 ^
	--LINK=g++ ^
	%1.o oal.o ^
	openal32.dll  ^
	-lwinmm

del *.o
del *.ali


