INC+=-I../../../AdaSDL/binding -I../../../AdaOpenGL/GL -I../../../AdaSDL_mixer
include make.conf

EXECNAMES=abgr

EXECS=$(EXECNAMES:=$(EXE));

%:%.adb
	gnatmake -O3 -gnaty3abcefhiklmprtM90 -gnatnfvU -gnatwl\
		$(INC) $@ -largs $(LIBS)
default: abgr

clean:
	rm -f *.o  b~*.ad[bs] *.ali

cleandist: clean
	rm -f $(EXECS)

conf2x11:
	cp make.conf_x11 make.conf

conf2w32:
	cp make.conf_w32 make.conf
