*** src/Makefile.orig Sat Jan 7 11:19:49 2006 --- src/Makefile Sat Feb 11 22:38:00 2006 *************** *** 1,14 **** OBJ = Singleton.o SmallObj.o OrderedStatic.o BIN = ../lib/libloki.a CXXFLAGS = -I../include -Wall -O2 -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) --- 1,15 ---- OBJ = Singleton.o SmallObj.o OrderedStatic.o BIN = ../lib/libloki.a CXXFLAGS = -I../include -Wall -O2 -DNDEBUG + PREFIX=/usr/local $(BIN): $(OBJ) ar rs $(BIN) $(OBJ) .PHONY: clean install install: $(BIN) ! mkdir -p $(PREFIX)/lib ! install $(BIN) $(PREFIX)/lib clean: rm -f $(OBJ) $(BIN)