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

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

cleanup due to plugin integration

File size: 808 bytes
RevLine 
[12609]1#!/usr/bin/make
[13262]2
[20045]3ifneq ($(windir),)
4MINGWPATH = C:\\PROGRA~1\\mingw\\bin\\
5QTPATH = C:\\PROGRA~1\\qt\\
[12609]6
[20045]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
[13262]24webkit-image: webkit-image.cpp webkit-image.h
[20045]25 $(CPP) -o $@ $(CFLAGS) $(LDFLAGS) webkit-image.cpp $(LDLIBS)
[12534]26
27webkit-image.h: webkit-image.cpp
[13262]28 $(MOC) webkit-image.cpp >$@
[12534]29
30clean:
[20045]31 ${RM} *.o webkit-image webkit-image.h
Note: See TracBrowser for help on using the repository browser.