- Link only loki statically, but not other libs (tests)

git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@701 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
lfittl 2006-09-11 20:56:55 +00:00
parent 3e5f183a8d
commit 3c5746fef0

View file

@ -1,13 +1,7 @@
include ../../Makefile.common
override CPPFLAGS += -I../../include -DNDEBUG
ifeq ($(OS),Darwin)
override LDFLAGS += -L../../lib
else
override LDFLAGS += -L../../lib -static
endif
LDLIBS := -lloki
LDLIBS := ../../lib/libloki.a
ifeq ($(OS),Windows)
BIN_SUFFIX := .exe