You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

26 lines
526 B

include ../Makefile.conf
CC=g++ -std=gnu++11 -pthread
CXX=g++ -std=gnu++11 -pthread
LD=$(CXX)
LDFLAGS=-L$(HOME)/lib -lpEpEngine -lstdc++
CXXFLAGS=-g -O0 -I../src
# CXXFLAGS=-O3 -DNDEBUG
TARGET=pEpEngineTest
UNIT_TEST_SOURCE=$(wildcard *_test.cc)
UNIT_TESTS=$(subst .cc,,$(UNIT_TEST_SOURCE))
all: $(TARGET) $(UNIT_TESTS)
.PHONY: clean
clean:
rm -f *.o $(TARGET) *.a *~ $(UNIT_TESTS)
test: pEpEngineTest
LD_LIBRARY_PATH=~/lib:../src ./pEpEngineTest
unit_tests: $(UNIT_TESTS)
LD_LIBRARY_PATH=~/lib:../src ./unit_tests