vmime/examples/viewer/Makefile
Vincent Richard e7407fd3a9 Missing libs.
2006-02-20 17:55:21 +00:00

19 lines
559 B
Makefile

COMPILER=g++
CFLAGS=-g -I ../.. `pkg-config --cflags gtk+-2.0`
LDFLAGS=-I ../.. `pkg-config --libs gtk+-2.0` -lgnutls -lgsasl
viewer: viewer.o ../../libvmime-debug.a
$(COMPILER) $(LDFLAGS) -o viewer viewer.o ../../libvmime-debug.a
viewer.o: viewer.cpp
$(COMPILER) $(CFLAGS) -c -o viewer.o viewer.cpp
../../libvmime-debug.a:
@echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
@echo "! You must build VMime library before compiling the example !"
@echo "!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!"
@false