PKGS = gtk+-2.0 firefox-gtkmozembed

EPIPHANY_PREFIX = $(shell pkg-config --variable=prefix epiphany-2.16)
EPIPHANY_DATADIR = $(EPIPHANY_PREFIX)/share/epiphany-browser

CC = c99
CFLAGS = $(shell pkg-config --cflags $(PKGS)) \
	 -DEPIPHANY_DATADIR=\"$(EPIPHANY_DATADIR)\" \
	 -W -Wall -Werror
LDLIBS = $(shell pkg-config --libs $(PKGS))

all: dynamic-layout
clean:
	rm dynamic-layout

.PHONY: all clean
