#!/bin/sh

dmd \
        -ofgui \
        gui.d handler.d icanvas.d canvas.d \
        tk/geometry.d tk/gtk_support.d tk/misc.d tk/types.d tk/events.d \
        tk/geometry2.d \
        -od.obj \
        -I"${DMD_BASE}/include/d" \
        -L-lgtkd -L-ldl


#dmd gui.d -ofgui -I"${DMD_BASE}/include/d" -S"${DMD_BASE}/lib" -no-export-dynamic -L-ldl -oq.obj
#rebuild gui.d -ofgui -I"${D_BASE}/local/include/d" -S"${D_BASE}/local/lib" -no-export-dynamic -L-ldl -oq.obj
