vmime/examples/viewer/Makefile

19 lines
542 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`
LDFLAGS=-I ../.. `pkg-config --libs gtk+-2.0`
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