summaryrefslogtreecommitdiff
path: root/src/cmd/goinstall/Makefile
blob: aaf202ee794b69b4b5025e6028bc4b22a64ac8d8 (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
# 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=goinstall
GOFILES=\
	download.go\
	main.go\
	make.go\
	parse.go\
	syslist.go\

CLEANFILES+=syslist.go

include ../../Make.cmd

syslist.go:
	echo '// Generated automatically by make.' >$@
	echo 'package main' >>$@
	echo 'const goosList = "$(GOOS_LIST)"' >>$@
	echo 'const goarchList = "$(GOARCH_LIST)"' >>$@

test:
	gotest

testshort:
	gotest -test.short