#!/bin/sh

dmd \
        -ofdoodle \
        -od.obj \
        doodle.d \
        biro/routines.d \
        dia/grid_layer.d dia/icanvas.d dia/page_layer.d dia/standard_tools.d dia/tool.d dia/tool_layer.d \
        gtk/canvas.d gtk/conversions.d \
        tk/events.d tk/geometry.d tk/misc.d tk/types.d \
        -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
#import/canvas.d import/geometry.d import/model.d import/network.d import/new.d import/p-model.d import/types.d import/undo.d
