make SafeFormat linkable
git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@466 7ec92016-0320-0410-acc4-a06ded1c099a
This commit is contained in:
parent
2f9d9a21d0
commit
316c01306d
2 changed files with 5 additions and 3 deletions
|
@ -1,8 +1,10 @@
|
|||
BIN = main
|
||||
CXXFLAGS = -Wall -O2
|
||||
CXXFLAGS = -Wall -fexpensive-optimizations -O3
|
||||
CPPFLAGS = -I../../include -DNDEBUG
|
||||
LDFLAGS = -L../../lib
|
||||
LDLIBS = -lloki
|
||||
|
||||
.PHONY: build clean
|
||||
build: $(BIN)
|
||||
clean:
|
||||
rm -f $(BIN)
|
||||
rm -f $(BIN)
|
|
@ -2,5 +2,5 @@ if not exist tmp\ mkdir tmp
|
|||
|
||||
cl -c -Zm200 -O2 -DNDEBUG -MT -EHsc -GR -W0 -wd4710 -I"." -I"..\..\include" -Fotmp\ main.cpp
|
||||
|
||||
link /NOLOGO /SUBSYSTEM:CONSOLE /incremental:no /OUT:"main-msvc.exe" tmp\main.obj
|
||||
link /NOLOGO /SUBSYSTEM:CONSOLE /incremental:no /OUT:"main-msvc.exe" ..\..\lib\loki.lib tmp\main.obj
|
||||
|
||||
|
|
Loading…
Reference in a new issue