1
0
mirror of https://github.com/golang/go synced 2024-10-05 00:11:21 -06:00
go/src/lib/regexp/Makefile
Rob Pike 84523402fc Make regexp build and install officially
R=rsc
DELTA=335  (172 added, 156 deleted, 7 changed)
OCL=17167
CL=17180
2008-10-14 22:16:45 -07:00

27 lines
394 B
Makefile

# Copyright 2009 The Go Authors. All rights reserved.
# Use of this source code is governed by a BSD-style
# license that can be found in the LICENSE file.
A=6
G=$(A)g
L=$(A)l
PKG=$(GOROOT)/pkg/regexp.$A
test: main.$A test.$A
$L -o test test.$A
./test
install: regexp.$A
cp regexp.$A $(PKG)
main: main.$A
$L -o main main.$A
main.$A: regexp.$A
clean:
rm -f *.6 test
%.6: %.go
$G $<