From aeb3bf80122cbf000c5d6fb46d236edb4f07107e Mon Sep 17 00:00:00 2001 From: rich_sposato Date: Mon, 17 Oct 2011 20:14:53 +0000 Subject: [PATCH] Added instructions to build DefaultAlloc. git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1155 7ec92016-0320-0410-acc4-a06ded1c099a --- test/SmallObj/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/test/SmallObj/Makefile b/test/SmallObj/Makefile index 80d903b..4a0047f 100644 --- a/test/SmallObj/Makefile +++ b/test/SmallObj/Makefile @@ -6,15 +6,20 @@ OBJ1 := $(SRC1:.cpp=.o) BIN2 := SmallObjSingleton$(BIN_SUFFIX) SRC2 := SmallObjSingleton.cpp OBJ2 := $(SRC2:.cpp=.o) +BIN3 := DefaultAlloc$(BIN_SUFFIX) +SRC3 := DefaultAlloc.cpp +OBJ3 := $(SRC1:.cpp=.o) CXXFLAGS := $(CXXWARNFLAGS) -g -fexpensive-optimizations -O3 .PHONY: all clean -all: $(BIN1) $(BIN2) +all: $(BIN1) $(BIN2) $(BIN3) clean: cleandeps $(RM) $(BIN1) $(RM) $(OBJ1) $(RM) $(BIN2) $(RM) $(OBJ2) + $(RM) $(BIN3) + $(RM) $(OBJ3) $(BIN1): $(OBJ1) $(CXX) $(LDFLAGS) -o $@ $^ $(LDLIBS) @@ -22,4 +27,7 @@ $(BIN1): $(OBJ1) $(BIN2): $(OBJ2) $(CXX) $(LDFLAGS) -o $@ $^ $(LDLIBS) +$(BIN3): $(OBJ3) + $(CXX) $(LDFLAGS) -o $@ $^ $(LDLIBS) + include ../../Makefile.deps