
threadexample : threadexample.cxx guiwindow.cxx dictionary.cxx
	g++ -I`root-config --incdir` `root-config --glibs` -lThread $^ -o $@

dictionary.cxx : guiwindow.h linkdef.h
	rootcint -f $@ -c -I`root-config --incdir` $^

threadexample.cxx guiwindow.cxx : eventqueue.h

clean :
	rm -f dictionary.* threadexample

