CFLAGS=-g `pkg-config --cflags gtk+-x11-2.0` -I/usr/include/gtkextra-2.0/gtkextra
LDFLAGS=`pkg-config --libs gtk+-x11-2.0 gtkextra-2.0`

all: testboxes testbubbles testcandles testcharsel testcontour testdt testflux testgtkfilesel testgtkfont testgtkiconlist testgtkplot testgtkplot3d testgtkplotcanvas testgtkplotdt testgtksheet testimage testiterator testpixmap testpolar testrealtime testsegment

clean:
	-rm -f *.o plotdemo.ps testboxes testbubbles testcandles testcharsel testcontour testdt testflux testgtkfilesel testgtkfont testgtkiconlist testgtkplot testgtkplot3d testgtkplotcanvas testgtkplotdt testgtksheet testimage testiterator testpixmap testpolar testrealtime testsegment

.PHONY: all clean

testboxes: testboxes.o
testbubbles: testbubbles.o
testcandles: testcandles.o
testcharsel: testcharsel.o
testcontour: testcontour.o
testdt: testdt.o
testflux: testflux.o
testgtkfilesel: testgtkfilesel.o
testgtkfont: testgtkfont.o
testgtkiconlist: testgtkiconlist.o
testgtkplot: testgtkplot.o
testgtkplot3d: testgtkplot3d.o
testgtkplotcanvas: testgtkplotcanvas.o
testgtkplotdt: testgtkplotdt.o
testgtksheet: testgtksheet.o
testimage: testimage.o
testiterator: testiterator.o
testpixmap: testpixmap.o
testpolar: testpolar.o
testrealtime: testrealtime.o
testsegment: testsegment.o
