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