2006-01-10 23:11:49 +00:00
|
|
|
OBJ = Singleton.o SmallObj.o OrderedStatic.o SafeFormat.o
|
2005-09-24 23:08:48 +00:00
|
|
|
BIN = ../lib/libloki.a
|
2006-01-20 16:07:58 +00:00
|
|
|
CXXFLAGS = -Wall -Wold-style-cast -Wundef -Wpadded -Wsign-compare -Wconversion -Wpointer-arith -pedantic -O2
|
2006-01-09 23:56:13 +00:00
|
|
|
CPPFLAGS = -I../include -DNDEBUG
|
2005-09-24 23:08:48 +00:00
|
|
|
|
2006-01-04 23:35:09 +00:00
|
|
|
$(BIN): $(OBJ)
|
2006-01-10 23:50:28 +00:00
|
|
|
ar rs $(BIN) $(OBJ)
|
2005-09-24 23:08:48 +00:00
|
|
|
|
2006-01-11 00:02:57 +00:00
|
|
|
.PHONY: install clean-tmp clean
|
2006-01-04 23:35:09 +00:00
|
|
|
install: $(BIN)
|
|
|
|
mkdir -p $(DESTDIR)/usr/lib
|
|
|
|
install $(BIN) $(DESTDIR)/usr/lib
|
2005-09-24 23:08:48 +00:00
|
|
|
|
2006-01-11 00:02:57 +00:00
|
|
|
clean-tmp:
|
|
|
|
rm -f $(OBJ)
|
|
|
|
|
|
|
|
clean: clean-tmp
|
|
|
|
rm -f $(BIN)
|