targets=gallery
#cflags_force=`pkg-config --cflags gtk+-2.0`
cflags=-W -Wall -g -O2 -fPIE -D_FORTIFY_SOURCE=2 -fstack-protector
ldflags_force=`pkg-config --libs glib-2.0`
ldflags=-pie -Wl,-z,relro -Wl,-z,now
dist=Makefile

#for Gtk+ 3
cflags_force=`pkg-config --cflags gtk+-3.0`

#targets
[gallery]
type=binary
sources=gallery.c
install=$(BINDIR)

#sources
[gallery.c]
depends=../config.h
