CFLAGS=`gtk-config --cflags` -g -Wall
LIBS=`gtk-config --libs` -lpthread

all: testthreads

testthreads: testthreads.o gtkthreads.o
	$(CC) -o $@ testthreads.o gtkthreads.o $(LIBS)

clean:
	rm -rf *.o testthreads