Index: applications/editors/josm/plugins/wmsplugin/Makefile
===================================================================
--- applications/editors/josm/plugins/wmsplugin/Makefile	(revision 12609)
+++ applications/editors/josm/plugins/wmsplugin/Makefile	(revision 13262)
@@ -1,10 +1,14 @@
 #!/usr/bin/make
+
+MOC=moc
+#MOC=/usr/share/qt4/bin/moc
+CFLAGS  =
 LDFLAGS = `pkg-config --libs --cflags QtCore QtGui QtWebKit`
 
-compile: webkit-image.cpp webkit-image.h
-	g++ -W -o webkit-image -I/usr/include/qt4/ -O2 $(LDFLAGS) webkit-image.cpp
+webkit-image: webkit-image.cpp webkit-image.h
+	g++ -W -o $@ -O2 $(CFLAGS) $(LDFLAGS) webkit-image.cpp
 
 webkit-image.h: webkit-image.cpp
-	/usr/share/qt4/bin/moc webkit-image.cpp >webkit-image.h 
+	$(MOC) webkit-image.cpp >$@
 
 clean:
