Add *test* target and change some file names. #1056

This commit is contained in:
Penn, John M 047828115 2020-09-27 23:21:25 -05:00
parent cb3869a36c
commit 57a12fc5cf
2 changed files with 5 additions and 1 deletions

View File

@ -10,7 +10,11 @@ LIBDIR = ../lib
LIBNAME = libSAInteg.a
LIBOBJS = ${OBJDIR}/Integrator.o
all: Integ_unittest
all: SAIntegrator_unittest
test: SAIntegrator_unittest
./SAIntegrator_unittest --gtest_output=xml:${TRICK_HOME}/trick_test/SAIntegrator_unittest.xml
Integ_unittest.o : Integ_unittest.cc
$(CPP) $(CFLAGS) $(INCLUDE_DIRS) -c $<