summaryrefslogtreecommitdiff
path: root/src/libbio/Makefile
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2010-08-24 20:00:33 -0400
committerRuss Cox <rsc@golang.org>2010-08-24 20:00:33 -0400
commitdcb6b277d7e6cc76451e9c12c3fa7d3227a7510c (patch)
treeebe80eb78031e7655219cef81feafdd2a6d43c21 /src/libbio/Makefile
parent245294d7b6cbc887554e424574ff36f88df42c00 (diff)
downloadgo-dcb6b277d7e6cc76451e9c12c3fa7d3227a7510c.tar.gz
build: $GOBIN defaults to $GOROOT/bin
R=r CC=golang-dev http://codereview.appspot.com/1982049
Diffstat (limited to 'src/libbio/Makefile')
-rw-r--r--src/libbio/Makefile20
1 files changed, 3 insertions, 17 deletions
diff --git a/src/libbio/Makefile b/src/libbio/Makefile
index 32fdedd91..4340b0eae 100644
--- a/src/libbio/Makefile
+++ b/src/libbio/Makefile
@@ -22,7 +22,8 @@
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
# THE SOFTWARE.
-include ../Make.conf
+include ../Make.inc
+O:=$(HOST_O)
LIB=libbio.a
@@ -47,19 +48,4 @@ OFILES=\
HFILES=\
../../include/bio.h
-install: $(LIB)
- cp $(LIB) ../../lib
-
-$(LIB): $(OFILES)
- ar rsc $(LIB) $(OFILES)
-
-$(OFILES): $(HFILES)
-
-y.tab.c: $(YFILES)
- yacc $(YFLAGS) $(YFILES)
-
-clean:
- rm -f $(OFILES) *.6 6.out $(LIB)
-
-nuke: clean
- rm -f ../../lib/$(LIB)
+include ../Make.clib