1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-20 04:02:27 +00:00
freebsd-ports/devel/loki/files/patch-src-Makefile
Sergey Matveychuk 51848c85ad A C++ library of designs, containing flexible implementations of
common design patterns and idioms.

WWW: http://sourceforge.net/projects/loki-lib/

PR:		ports/93183
Submitted by:	snnn <snnn119@gmail.com>
2006-04-28 19:59:30 +00:00

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)