1 include ../Makefile.conf
3 CC?=g++ -std=gnu++11 -pthread
4 CXX?=g++ -std=gnu++11 -pthread
7 LDLIBS?=-letpan -lpEpEngine -lstdc++
8 CXXFLAGS?=-g -O0 -I../src
9 # CXXFLAGS=-O3 -DNDEBUG
11 ifeq ("$(OPENPGP)","NETPGP")
17 UNIT_TESTS_SOURCE=$(wildcard *_test.cc)
18 UNIT_TESTS=$(subst .cc,,$(UNIT_TESTS_SOURCE))
20 all: $(TARGET) $(UNIT_TESTS)
25 rm -f *.o $(TARGET) *.a *~ $(UNIT_TESTS) pep_Dokument_Titel.pdf
28 LD_LIBRARY_PATH=~/lib:../src ./pEpEngineTest
30 unit_tests: $(UNIT_TESTS)
31 for t in ./*_test ; do \
32 if LD_LIBRARY_PATH=~/lib:../src $$t ; then true; else break; fi \