Loki/src/Makefile

16 lines
304 B
Makefile
Raw Normal View History

OBJ = Singleton.o SmallObj.o OrderedStatic.o SafeFormat.o
BIN = ../lib/libloki.a
CXXFLAGS = -Wall -O2
CPPFLAGS = -I../include -DNDEBUG
$(BIN): $(OBJ)
ar rs $(BIN) $(OBJ)
.PHONY: clean install
install: $(BIN)
mkdir -p $(DESTDIR)/usr/lib
install $(BIN) $(DESTDIR)/usr/lib
clean:
rm -f $(OBJ) $(BIN)