1
0
mirror of https://github.com/golang/go synced 2024-10-08 00:31:21 -06:00
go/src/cmd/ebnflint/Makefile

26 lines
485 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.
include $(GOROOT)/src/Make.conf
include $(GOROOT)/src/Make.$(GOARCH)
TARG=ebnflint
OFILES=\
ebnflint.$O\
$(TARG): $(OFILES)
$(LD) -o $(TARG) $(OFILES)
test: $(TARG)
$(TARG) -start="SourceFile" $(GOROOT)/doc/go_spec.html
clean:
rm -f $(OFILES) $(TARG)
install: $(TARG)
cp $(TARG) $(GOBIN)/$(TARG)
%.$O: %.go
$(GC) $<