From: Lukas F. <lf...@us...> - 2006-07-14 07:31:43
|
Update of /cvsroot/loki-lib/loki/test/SmartPtr In directory sc8-pr-cvs6.sourceforge.net:/tmp/cvs-serv9608/test/SmartPtr Modified Files: Makefile Log Message: - Create initial 0.1.6 changelog - Makefiles can now be called from sub directories - Makefiles know includes and recompile if they are changed (linux, macosx) - Build all tests except SingletonDll with the static library (linux, macosx) Index: Makefile =================================================================== RCS file: /cvsroot/loki-lib/loki/test/SmartPtr/Makefile,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- Makefile 17 May 2006 16:25:03 -0000 1.4 +++ Makefile 14 Jul 2006 07:31:36 -0000 1.5 @@ -1,12 +1,17 @@ -BIN = main$(BIN_SUFFIX) -SRC = main.cpp strong.cpp LockTest.cpp -OBJ = $(SRC:.cpp=.o) +include ../Makefile.common + +BIN := main$(BIN_SUFFIX) +SRC := main.cpp strong.cpp LockTest.cpp +OBJ := $(SRC:.cpp=.o) +LDLIBS += -lpthread .PHONY: all clean all: $(BIN) -clean: +clean: cleandeps $(RM) $(BIN) $(RM) $(OBJ) $(BIN): $(OBJ) $(CXX) $(LDFLAGS) -o $@ $^ $(LDLIBS) + +include ../../Makefile.deps |