-#$(INSTALLDIR)/plugins/bkgrnd2d.$(DLL): LIBS_EXTRA := $(LIBS_GLIB) $(LIBS_GTK)
-#$(INSTALLDIR)/plugins/bkgrnd2d.$(DLL): CPPFLAGS_EXTRA := $(CPPFLAGS_GLIB) $(CPPFLAGS_GTK) -Ilibs -Iinclude
-#$(INSTALLDIR)/plugins/bkgrnd2d.$(DLL): \
-# contrib/bkgrnd2d/bkgrnd2d.o \
-# contrib/bkgrnd2d/dialog.o \
-# contrib/bkgrnd2d/plugin.o \
+$(INSTALLDIR)/plugins/meshtex.$(DLL): LIBS_EXTRA := $(LIBS_GLIB) $(LIBS_GTK)
+$(INSTALLDIR)/plugins/meshtex.$(DLL): CPPFLAGS_EXTRA := $(CPPFLAGS_GLIB) $(CPPFLAGS_GTK) -Ilibs -Iinclude
+$(INSTALLDIR)/plugins/meshtex.$(DLL): \
+ contrib/meshtex/GeneralFunctionDialog.o \
+ contrib/meshtex/GenericDialog.o \
+ contrib/meshtex/GenericMainMenu.o \
+ contrib/meshtex/GenericPluginUI.o \
+ contrib/meshtex/GetInfoDialog.o \
+ contrib/meshtex/MainMenu.o \
+ contrib/meshtex/MeshEntity.o \
+ contrib/meshtex/MeshVisitor.o \
+ contrib/meshtex/PluginModule.o \
+ contrib/meshtex/PluginRegistration.o \
+ contrib/meshtex/PluginUI.o \
+ contrib/meshtex/RefCounted.o \
+ contrib/meshtex/SetScaleDialog.o \
+
+$(INSTALLDIR)/plugins/bkgrnd2d.$(DLL): LIBS_EXTRA := $(LIBS_GLIB) $(LIBS_GTK)
+$(INSTALLDIR)/plugins/bkgrnd2d.$(DLL): CPPFLAGS_EXTRA := $(CPPFLAGS_GLIB) $(CPPFLAGS_GTK) -Ilibs -Iinclude
+$(INSTALLDIR)/plugins/bkgrnd2d.$(DLL): \
+ contrib/bkgrnd2d/bkgrnd2d.o \
+ contrib/bkgrnd2d/dialog.o \
+ contrib/bkgrnd2d/plugin.o \