TARGET=gnutls-test
CPPFLAG=-g -O2 -Wall `pkg-config --cflags openssl` -DHAVE_CONFIG_H
LIBS=`pkg-config --libs openssl` -lpthread `pkg-config --libs gnutls`
OBJS=loader.o loaderdata.o jdthread.o miscmsg.o gnutls-test.o ssl.o

$(TARGET) : $(OBJS)
	g++ $(CPPFLAG) $(LIBS) -o $@ $^

.cpp.o :
	g++ $(CPPFLAG) -c $<

clean :
	rm -f *.o $(TARGET)
