Skip to content
This repository was archived by the owner on Aug 2, 2018. It is now read-only.

Commit 136d09c

Browse files
committed
add check_deps/test_libseq.cc
1 parent 7aca4bb commit 136d09c

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

check_deps/Makefile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ CXXFLAGS:=-std=c++11
44
DIR=check_deps
55

66
#all: $(DIR)/test_memlibs.o
7-
all: $(DIR)/test_fwdpp.o $(DIR)/test_gsl.o
7+
all: $(DIR)/test_libseq.o $(DIR)/test_fwdpp.o $(DIR)/test_gsl.o
88
# $(CXX) $(CXXFLAGS) -o $(DIR)/test_memlibs $(DIR)/test_memlibs.o $(LDFLAGS) $(TESTMEMLIBS)
9+
$(CXX) $(CXXFLAGS) $(CPPFLAGS) -o $(DIR)/test_libseq $(DIR)/test_libseq.o $(LDFLAGS) -lsequence
910
$(CXX) $(CXXFLAGS) $(CPPFLAGS) -o $(DIR)/test_fwdpp $(DIR)/test_fwdpp.o $(LDFLAGS) -lgsl -lgslcblas
1011
$(CXX) $(CXXFLAGS) $(CPPFLAGS) -o $(DIR)/test_gsl $(DIR)/test_gsl.o $(LDFLAGS) -lgsl -lgslcblas
1112
clean:
1213
# rm -f $(DIR)/test_memlibs $(DIR)/test_memlibs.o
14+
rm -f $(DIR)/test_libseq $(DIR)/test_libseq.o
1315
rm -f $(DIR)/test_fwdpp $(DIR)/test_fwdpp.o
1416
rm -f $(DIR)/test_gsl $(DIR)/test_gsl.o

check_deps/test_libseq.cc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#include <Sequence/SimData.hpp>
2+
3+
using namespace Sequence;
4+
5+
int main(int argc, char ** argv)
6+
{
7+
SimData d;
8+
}

0 commit comments

Comments
 (0)