- 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) git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@695 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
81c7b0d3db
commit
3de4a064cb
25 changed files with 244 additions and 135 deletions
|
@ -1,14 +1,16 @@
|
|||
BIN1 = main$(BIN_SUFFIX)
|
||||
SRC1 = main.cpp
|
||||
OBJ1 = $(SRC1:.cpp=.o)
|
||||
BIN2 = main2$(BIN_SUFFIX)
|
||||
SRC2 = main2.cpp
|
||||
OBJ2 = $(SRC2:.cpp=.o)
|
||||
override CXXFLAGS = $(CXXWARNFLAGS) -g -fexpensive-optimizations -O3
|
||||
include ../Makefile.common
|
||||
|
||||
BIN1 := main$(BIN_SUFFIX)
|
||||
SRC1 := main.cpp
|
||||
OBJ1 := $(SRC1:.cpp=.o)
|
||||
BIN2 := main2$(BIN_SUFFIX)
|
||||
SRC2 := main2.cpp
|
||||
OBJ2 := $(SRC2:.cpp=.o)
|
||||
CXXFLAGS := $(CXXWARNFLAGS) -g -fexpensive-optimizations -O3
|
||||
|
||||
.PHONY: all clean
|
||||
all: $(BIN1) $(BIN2)
|
||||
clean:
|
||||
clean: cleandeps
|
||||
$(RM) $(BIN1)
|
||||
$(RM) $(OBJ1)
|
||||
$(RM) $(BIN2)
|
||||
|
@ -19,3 +21,5 @@ $(BIN1): $(OBJ1)
|
|||
|
||||
$(BIN2): $(OBJ2)
|
||||
$(CXX) $(LDFLAGS) -o $@ $^ $(LDLIBS)
|
||||
|
||||
include ../../Makefile.deps
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue