Added make files for projects.
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@1150 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
3cb55b723d
commit
b97cbd0a32
7 changed files with 115 additions and 0 deletions
16
test/AssocVector/Makefile
Normal file
16
test/AssocVector/Makefile
Normal file
|
@ -0,0 +1,16 @@
|
|||
include ../Makefile.common
|
||||
|
||||
BIN := main$(BIN_SUFFIX)
|
||||
SRC := main.cpp
|
||||
OBJ := $(SRC:.cpp=.o)
|
||||
|
||||
.PHONY: all clean
|
||||
all: $(BIN)
|
||||
clean: cleandeps
|
||||
$(RM) $(BIN)
|
||||
$(RM) $(OBJ)
|
||||
|
||||
$(BIN): $(OBJ)
|
||||
$(CXX) $(LDFLAGS) -o $@ $^ $(LDLIBS)
|
||||
|
||||
include ../../Makefile.deps
|
16
test/CheckReturn/Makefile
Normal file
16
test/CheckReturn/Makefile
Normal file
|
@ -0,0 +1,16 @@
|
|||
include ../Makefile.common
|
||||
|
||||
BIN := main$(BIN_SUFFIX)
|
||||
SRC := main.cpp
|
||||
OBJ := $(SRC:.cpp=.o)
|
||||
|
||||
.PHONY: all clean
|
||||
all: $(BIN)
|
||||
clean: cleandeps
|
||||
$(RM) $(BIN)
|
||||
$(RM) $(OBJ)
|
||||
|
||||
$(BIN): $(OBJ)
|
||||
$(CXX) $(LDFLAGS) -o $@ $^ $(LDLIBS)
|
||||
|
||||
include ../../Makefile.deps
|
16
test/Checker/Makefile
Normal file
16
test/Checker/Makefile
Normal file
|
@ -0,0 +1,16 @@
|
|||
include ../Makefile.common
|
||||
|
||||
BIN := main$(BIN_SUFFIX)
|
||||
SRC := main.cpp
|
||||
OBJ := $(SRC:.cpp=.o)
|
||||
|
||||
.PHONY: all clean
|
||||
all: $(BIN)
|
||||
clean: cleandeps
|
||||
$(RM) $(BIN)
|
||||
$(RM) $(OBJ)
|
||||
|
||||
$(BIN): $(OBJ)
|
||||
$(CXX) $(LDFLAGS) -o $@ $^ $(LDLIBS)
|
||||
|
||||
include ../../Makefile.deps
|
17
test/LevelMutex/Makefile
Normal file
17
test/LevelMutex/Makefile
Normal file
|
@ -0,0 +1,17 @@
|
|||
include ../Makefile.common
|
||||
|
||||
BIN := main$(BIN_SUFFIX)
|
||||
SRC := main.cpp MultiThreadTests.cpp Thing.cpp ThreadPool.cpp
|
||||
OBJ := $(SRC:.cpp=.o)
|
||||
LDLIBS += -lpthread
|
||||
|
||||
.PHONY: all clean
|
||||
all: $(BIN)
|
||||
clean: cleandeps
|
||||
$(RM) $(BIN)
|
||||
$(RM) $(OBJ)
|
||||
|
||||
$(BIN): $(OBJ)
|
||||
$(CXX) $(LDFLAGS) -o $@ $^ $(LDLIBS)
|
||||
|
||||
include ../../Makefile.deps
|
17
test/Lockable/Makefile
Normal file
17
test/Lockable/Makefile
Normal file
|
@ -0,0 +1,17 @@
|
|||
include ../Makefile.common
|
||||
|
||||
BIN := main$(BIN_SUFFIX)
|
||||
SRC := main.cpp ThreadPool.cpp
|
||||
OBJ := $(SRC:.cpp=.o)
|
||||
LDLIBS += -lpthread
|
||||
|
||||
.PHONY: all clean
|
||||
all: $(BIN)
|
||||
clean: cleandeps
|
||||
$(RM) $(BIN)
|
||||
$(RM) $(OBJ)
|
||||
|
||||
$(BIN): $(OBJ)
|
||||
$(CXX) $(LDFLAGS) -o $@ $^ $(LDLIBS)
|
||||
|
||||
include ../../Makefile.deps
|
16
test/SafeBits/Makefile
Normal file
16
test/SafeBits/Makefile
Normal file
|
@ -0,0 +1,16 @@
|
|||
include ../Makefile.common
|
||||
|
||||
BIN := SafeBitTest$(BIN_SUFFIX)
|
||||
SRC := SafeBitTest.cpp
|
||||
OBJ := $(SRC:.cpp=.o)
|
||||
|
||||
.PHONY: all clean
|
||||
all: $(BIN)
|
||||
clean: cleandeps
|
||||
$(RM) $(BIN)
|
||||
$(RM) $(OBJ)
|
||||
|
||||
$(BIN): $(OBJ)
|
||||
$(CXX) $(LDFLAGS) -o $@ $^ $(LDLIBS)
|
||||
|
||||
include ../../Makefile.deps
|
17
test/ThreadLocal/Makefile
Normal file
17
test/ThreadLocal/Makefile
Normal file
|
@ -0,0 +1,17 @@
|
|||
include ../Makefile.common
|
||||
|
||||
BIN := main$(BIN_SUFFIX)
|
||||
SRC := main.cpp ThreadTests.cpp ThreadPool.cpp
|
||||
OBJ := $(SRC:.cpp=.o)
|
||||
LDLIBS += -lpthread
|
||||
|
||||
.PHONY: all clean
|
||||
all: $(BIN)
|
||||
clean: cleandeps
|
||||
$(RM) $(BIN)
|
||||
$(RM) $(OBJ)
|
||||
|
||||
$(BIN): $(OBJ)
|
||||
$(CXX) $(LDFLAGS) -o $@ $^ $(LDLIBS)
|
||||
|
||||
include ../../Makefile.deps
|
Loading…
Reference in a new issue