summaryrefslogtreecommitdiff
path: root/src/pkg/unicode/Makefile
blob: df0b4a642df2e426864cc1db7f94e63a1da8d593 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# 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.

include ../../Make.inc

TARG=unicode
GOFILES=\
	casetables.go\
	digit.go\
	letter.go\
	tables.go\

include ../../Make.pkg

maketables: maketables.go
	$(GC) maketables.go
	$(LD) -o maketables maketables.$O

tables:	maketables
	$(GC) maketables.go
	$(LD) -o maketables maketables.$O
	./maketables --tables=all > tables.go
	gofmt -w tables.go
	rm -f maketables

testtables: maketables
	echo '***' Be sure to make tables and make install first
	./maketables -test
	rm -f maketables