vmime/examples/viewer/Makefile

19 lines
559 B
Makefile
Raw Normal View History

2005-03-17 16:32:07 +00:00
COMPILER=g++
CFLAGS=-g -I ../.. `pkg-config --cflags gtk+-2.0`
2006-02-20 17:55:21 +00:00
LDFLAGS=-I ../.. `pkg-config --libs gtk+-2.0` -lgnutls -lgsasl
2005-03-17 16:32:07 +00:00
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