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:
syntheticpp 2006-01-10 23:21:33 +00:00
parent 2f9d9a21d0
commit 316c01306d
2 changed files with 5 additions and 3 deletions

View file

@ -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)

View file

@ -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