|
Last change
on this file since 12910 was 12609, checked in by joerg, 17 years ago |
|
execute pkg-config to get the correct Compiler flags
|
|
File size:
334 bytes
|
| Line | |
|---|
| 1 | #!/usr/bin/make
|
|---|
| 2 | LDFLAGS = `pkg-config --libs --cflags QtCore QtGui QtWebKit`
|
|---|
| 3 |
|
|---|
| 4 | compile: webkit-image.cpp webkit-image.h
|
|---|
| 5 | g++ -W -o webkit-image -I/usr/include/qt4/ -O2 $(LDFLAGS) webkit-image.cpp
|
|---|
| 6 |
|
|---|
| 7 | webkit-image.h: webkit-image.cpp
|
|---|
| 8 | /usr/share/qt4/bin/moc webkit-image.cpp >webkit-image.h
|
|---|
| 9 |
|
|---|
| 10 | clean:
|
|---|
| 11 | rm -f *.o webkit-image webkit-image.h
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.