src/Makefile: Target glib 2.38 and link resources

This is needed for porting widgets to use GTK+ Templates.
window: Port to GTK+ Template
date-entry: Port to GTK+ Template
view: Port to GTK+ Template