progs=hello scribble-simple testgtkmm testme testme1 testme2 testme3 testme6
all: $(progs)

CPPFLAGS+=-I.

CPPFLAGS+=$(shell gtkmm-config --cflags)
LDFLAGS+=$(shell gtkmm-config --libs-only-L)
LOADLIBES+=$(shell gtkmm-config --libs-only-l)

CPPFLAGS+=$(shell gtk-config --cflags)

CC=$(CXX)

%.cc: %.cc.gz ; gzip --decompress < $< > $@
%.h: %.h.gz ; gzip --decompress < $< > $@

testgtkmm.o: testgtkmm.h

clean:
	-rm -f *.o $(progs)
