SOURCES = mesh2d.c 
INCDIR  = -I /usr/share/src/OpenGL/toolkits/include -I ../../

mesh2d: $(SOURCES)
	cc  -fPIC -shared $(INCDIR) $(SOURCES) -Wl,-soname,$@.so -o $@.so

clean:
	rm -f *~ *.o *.so

