mirror of
https://github.com/golang/go
synced 2024-10-05 00:11:21 -06:00
84523402fc
R=rsc DELTA=335 (172 added, 156 deleted, 7 changed) OCL=17167 CL=17180
27 lines
394 B
Makefile
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 $<
|