mirror of
https://github.com/golang/go
synced 2024-10-08 05:41:21 -06:00
25 lines
456 B
Makefile
25 lines
456 B
Makefile
|
# 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.$(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) $(HOME)/bin/$(TARG)
|
||
|
|
||
|
%.$O: %.go
|
||
|
$(GC) $<
|