summaryrefslogtreecommitdiff
path: root/src/cmd/godefs/Makefile
blob: d3215c87d6f1c5f47500ce3ba44992dae6d48e8f (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
# 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.conf

TARG=godefs
OFILES=\
	main.$O\
	stabs.$O\
	util.$O\

HFILES=a.h

$(TARG): $(OFILES)
	$(LD) -o $(TARG) -L$(GOROOT)/lib $(OFILES) -lbio -l9

clean:
	rm -f *.$O $(TARG)

install: $(TARG)
	cp $(TARG) $(GOBIN)/$(TARG)

$(OFILES): $(HFILES)