1
0
mirror of https://github.com/golang/go synced 2024-10-04 22:31:22 -06:00
go/src/lib/regexp/Makefile

27 lines
394 B
Makefile
Raw Normal View History

# 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 $<