Last change
on this file since 19868 was 16592, checked in by frederik, 15 years ago |
webkit-image makefile/linking order fixes by Hanno Boeck <hanno@…>
|
File size:
355 bytes
|
Line | |
---|
1 | #!/usr/bin/make
|
---|
2 |
|
---|
3 | MOC=moc
|
---|
4 | #MOC=/usr/share/qt4/bin/moc
|
---|
5 | CFLAGS =
|
---|
6 | LDFLAGS =
|
---|
7 | LDLIBS = `pkg-config --libs --cflags QtCore QtGui QtWebKit`
|
---|
8 |
|
---|
9 | webkit-image: webkit-image.cpp webkit-image.h
|
---|
10 | g++ -W -o $@ -O2 $(CFLAGS) $(LDFLAGS) webkit-image.cpp $(LDLIBS)
|
---|
11 |
|
---|
12 | webkit-image.h: webkit-image.cpp
|
---|
13 | $(MOC) webkit-image.cpp >$@
|
---|
14 |
|
---|
15 | clean:
|
---|
16 | rm -f *.o webkit-image webkit-image.h
|
---|
Note:
See
TracBrowser
for help on using the repository browser.