- 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
10
Makefile
10
Makefile
|
@ -1,8 +1,4 @@
|
|||
export VERSION = 0.1.5
|
||||
export OS ?= $(shell uname -s)
|
||||
|
||||
export CXXWARNFLAGS = -Wall -Wold-style-cast -Wundef -Wsign-compare -Wconversion -Wpointer-arith -pedantic
|
||||
export CXXFLAGS = $(CXXWARNFLAGS) -g -O2
|
||||
include Makefile.common
|
||||
|
||||
.PHONY: all build-static build-shared check clean distclean
|
||||
all: build-static build-shared check
|
||||
|
@ -12,7 +8,7 @@ build-static:
|
|||
build-shared:
|
||||
$(MAKE) -C src build-shared
|
||||
|
||||
check: build-shared
|
||||
check: build-static build-shared
|
||||
$(MAKE) -C test
|
||||
|
||||
clean:
|
||||
|
@ -23,8 +19,6 @@ distclean: clean
|
|||
$(MAKE) -C src distclean
|
||||
|
||||
ifneq ($(OS),Windows)
|
||||
export prefix ?= /usr
|
||||
|
||||
.PHONY: install install-static
|
||||
install:
|
||||
$(MAKE) -C src install-static
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue