diff --git a/test/SafeFormat/Makefile b/test/SafeFormat/Makefile index 1322b95..1537333 100755 --- a/test/SafeFormat/Makefile +++ b/test/SafeFormat/Makefile @@ -1,7 +1,7 @@ OBJ = main.o BIN = main-gcc CXXFLAGS = -I../../include -Wall -O2 -DNDEBUG -LIBS = -L../../lib -lloki +LIBS = $(BIN): $(OBJ) $(CXX) -o $(BIN) $(OBJ) $(LIBS) diff --git a/test/SafeFormat/main.cpp b/test/SafeFormat/main.cpp index d509acf..a58492a 100755 --- a/test/SafeFormat/main.cpp +++ b/test/SafeFormat/main.cpp @@ -17,6 +17,7 @@ #include "../SmallObj/timer.h" using namespace std; +using namespace Loki; template Integral2 RandomInt(Integral1 low, Integral2 up)