source: osm/applications/editors/josm/webgrabber/makefile@ 30664

Last change on this file since 30664 was 24718, checked in by stoecker, 14 years ago

cleanup due to plugin integration

File size: 808 bytes
Line 
1#!/usr/bin/make
2
3ifneq ($(windir),)
4MINGWPATH = C:\\PROGRA~1\\mingw\\bin\\
5QTPATH = C:\\PROGRA~1\\qt\\
6
7CPP = ${MINGWPATH}c++.exe
8MOC = ${QTPATH}bin\\moc.exe
9RM = del
10CFLAGS = -W -O2 -I${QTPATH}include
11LDFLAGS = -L${QTPATH}lib
12LDLIBS = -lQtCore4 -lQtWebKit4 -lQtGui4 -lQtNetwork4
13else
14MOC = moc
15#MOC = /usr/share/qt4/bin/moc
16CPP = gcc
17
18PACKAGES = QtCore QtGui QtWebKit QtNetwork
19CFLAGS = -W -O2 `pkg-config --cflags ${PACKAGES}`
20LDFLAGS = `pkg-config --libs-only-L ${PACKAGES}`
21LDLIBS = `pkg-config --libs-only-l ${PACKAGES}`
22endif
23
24webkit-image: webkit-image.cpp webkit-image.h
25 $(CPP) -o $@ $(CFLAGS) $(LDFLAGS) webkit-image.cpp $(LDLIBS)
26
27webkit-image.h: webkit-image.cpp
28 $(MOC) webkit-image.cpp >$@
29
30clean:
31 ${RM} *.o webkit-image webkit-image.h
Note: See TracBrowser for help on using the repository browser.