#include ../Makefile.local
#.C.o:
#	g++ `gtk-config --cflags` -fPIC -c $<

INTSRC= 
INTOBJ=$(INTSRC:.C=.o)
LIB = libGtkWidgets.so

all: $(INTOBJ) \
	ex \
	libs

ex:
	g++ -ggdb `gtk-config --cflags` ButtonsTest.C -o ButtonsTest `gtk-config --libs`
	g++ -ggdb `gtk-config --cflags` LabelsTest.C -o LabelsTest `gtk-config --libs`
	g++ -ggdb `gtk-config --cflags` ProgressBarTest.C -o ProgressBarTest `gtk-config --libs`
#	$(CC) `gtk-config --cflags` `gtk-config --libs` -L/home/flatmax/lib -l3DPanner colourWheelTest.C -o colourWheelTest

libs:
#	ld -shared -soname $(LIB) -o $(LIB) $(INTOBJ)

clean:
	rm -f *~ $(INTOBJ) lib*.so.* a.out *.o $(LIB) ButtonsTest colourWheelTest colourWheelTest ProgressBarTest LabelsTest
