2009-01-14 15:05:00 -07:00
|
|
|
# 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.
|
|
|
|
|
2010-08-18 08:08:49 -06:00
|
|
|
include ../../Make.inc
|
2009-01-14 15:05:00 -07:00
|
|
|
|
2009-08-12 14:19:17 -06:00
|
|
|
TARG=unicode
|
|
|
|
GOFILES=\
|
2010-03-30 18:51:03 -06:00
|
|
|
casetables.go\
|
2009-08-26 17:53:07 -06:00
|
|
|
digit.go\
|
2009-08-12 14:19:17 -06:00
|
|
|
letter.go\
|
2009-08-27 10:14:32 -06:00
|
|
|
tables.go\
|
2009-01-14 15:05:00 -07:00
|
|
|
|
2009-11-23 18:32:51 -07:00
|
|
|
include ../../Make.pkg
|
2009-08-26 17:01:31 -06:00
|
|
|
|
2009-08-27 10:14:32 -06:00
|
|
|
maketables: maketables.go
|
2009-08-26 17:01:31 -06:00
|
|
|
$(GC) maketables.go
|
|
|
|
$(LD) -o maketables maketables.$O
|
2009-08-27 10:14:32 -06:00
|
|
|
|
|
|
|
tables: maketables
|
|
|
|
./maketables --tables=all > tables.go
|
2009-12-01 17:22:21 -07:00
|
|
|
gofmt -w tables.go
|
2009-08-27 10:14:32 -06:00
|
|
|
|
|
|
|
testtables: maketables
|
2011-01-30 14:09:16 -07:00
|
|
|
@echo '***' Be sure to make tables and make install first
|
2009-08-27 10:14:32 -06:00
|
|
|
./maketables -test
|
2011-01-30 14:09:16 -07:00
|
|
|
|
|
|
|
all: maketables
|
|
|
|
CLEANFILES+=maketables
|