~ubuntu-branches/ubuntu/wily/libvmime/wily

« back to all changes in this revision

Viewing changes to examples/viewer/Makefile

  • Committer: Bazaar Package Importer
  • Author(s): Mattias Nordstrom
  • Date: 2008-03-08 16:12:07 UTC
  • mfrom: (3.1.1 hardy)
  • Revision ID: james.westby@ubuntu.com-20080308161207-kyjvwtjye5483yhv
Tags: 0.8.1-3
* Applied patch for GCC 4.3 (closes: #461696)
* Updated watch file (closes: #462829)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
COMPILER=g++
3
 
CFLAGS=-g -I ../.. `pkg-config --cflags gtk+-2.0`
4
 
LDFLAGS=-I ../.. `pkg-config --libs gtk+-2.0` -lgnutls -lgsasl
5
 
 
6
 
 
7
 
viewer: viewer.o ../../libvmime-debug.a
8
 
        $(COMPILER) $(LDFLAGS) -o viewer viewer.o ../../libvmime-debug.a
9
 
 
10
 
viewer.o: viewer.cpp
11
 
        $(COMPILER) $(CFLAGS) -c -o viewer.o viewer.cpp
12
 
 
13
 
../../libvmime-debug.a:
14
 
        @echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
15
 
        @echo "!  You must build VMime library before compiling the example  !"
16
 
        @echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
17
 
        @false
18