mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
51848c85ad
common design patterns and idioms. WWW: http://sourceforge.net/projects/loki-lib/ PR: ports/93183 Submitted by: snnn <snnn119@gmail.com>
35 lines
788 B
Plaintext
35 lines
788 B
Plaintext
*** 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)
|