Skip to content

Commit

Permalink
Fix Makefile for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidvanErkelens committed Jul 23, 2019
1 parent 124a298 commit d8eda52
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
COMPILER_FLAGS = -Wall -g -O0 -pipe -std=c++11 -Wno-sign-compare
LINKER_FLAGS =
LINKER_FLAGS =
INC = -I../ -I. -Igoogletest-release-1.8.0/googletest/include
COMPILER = g++
LINKER = g++
Expand All @@ -16,7 +16,7 @@ all: ${BINARY}
${COMPILER} ${COMPILER_FLAGS} ${INC} -c $< -o $@

${BINARY}: ${DEPS} main.cpp
${LINKER} ${LINKER_FLAGS} ${INC} -o ${BINARY} ${DEPS} libgtest.a -pthread ../libsmarttpl.so
${LINKER} ${LINKER_FLAGS} ${INC} -o ${BINARY} ${DEPS} libgtest.a -pthread ../libsmarttpl.so -ltimelib

libgtest.a:
wget -q https://github.com/google/googletest/archive/release-1.8.0.tar.gz
Expand Down

0 comments on commit d8eda52

Please sign in to comment.