all: test_widget

test_widget: test_widget.c phatsvgknob.c phatsvgknob.h phatsvgknob-marshallers.c phatsvgknob-marshallers.h
	gcc -g -o test_widget test_widget.c phatsvgknob.c phatsvgknob-marshallers.c \
		`pkg-config --libs --cflags gtk+-2.0`

phatsvgknob-marshallers.c: phatsvgknob-marshallers.list
	glib-genmarshal --prefix _phatsvgknob_marshal --body $< > $@

phatsvgknob-marshallers.h: phatsvgknob-marshallers.list
	glib-genmarshal --prefix _phatsvgknob_marshal --header $< > $@

clean:	
	-rm -rf test_widget Binaries/test_widget