git-svn-id: svn://svn.code.sf.net/p/loki-lib/code/trunk@501 7ec92016-0320-0410-acc4-a06ded1c099a
18 lines
431 B
Makefile
Executable file
18 lines
431 B
Makefile
Executable file
OBJ = Singleton.o SmallObj.o OrderedStatic.o SafeFormat.o
|
|
BIN = ../lib/libloki.a
|
|
CXXFLAGS = -Wall -Wold-style-cast -Wundef -Wpadded -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2
|
|
CPPFLAGS = -I../include -DNDEBUG
|
|
|
|
$(BIN): $(OBJ)
|
|
ar rs $(BIN) $(OBJ)
|
|
|
|
.PHONY: install clean-tmp clean
|
|
install: $(BIN)
|
|
mkdir -p $(DESTDIR)/usr/lib
|
|
install $(BIN) $(DESTDIR)/usr/lib
|
|
|
|
clean-tmp:
|
|
rm -f $(OBJ)
|
|
|
|
clean: clean-tmp
|
|
rm -f $(BIN)
|