2009-07-13 11:26:58 -06: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.
|
|
|
|
|
2009-07-28 12:23:24 -06:00
|
|
|
include $(GOROOT)/src/Make.conf
|
2009-07-13 11:26:58 -06:00
|
|
|
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)
|
2009-07-28 12:23:24 -06:00
|
|
|
cp $(TARG) $(GOBIN)/$(TARG)
|
2009-07-13 11:26:58 -06:00
|
|
|
|
|
|
|
%.$O: %.go
|
|
|
|
$(GC) $<
|