source: subversion/applications/editors/josm/plugins/wmsplugin/Makefile @ 12609

Last change on this file since 12609 was 12609, checked in by joerg, 11 years ago

execute pkg-config to get the correct Compiler flags

File size: 334 bytes
Line 
1#!/usr/bin/make
2LDFLAGS = `pkg-config --libs --cflags QtCore QtGui QtWebKit`
3
4compile: webkit-image.cpp webkit-image.h
5        g++ -W -o webkit-image -I/usr/include/qt4/ -O2 $(LDFLAGS) webkit-image.cpp
6
7webkit-image.h: webkit-image.cpp
8        /usr/share/qt4/bin/moc webkit-image.cpp >webkit-image.h
9
10clean:
11        rm -f *.o webkit-image webkit-image.h
Note: See TracBrowser for help on using the repository browser.