Commit bd4f5af1 authored by Robert Griesemer's avatar Robert Griesemer

- missing makefile

R=r
OCL=25714
CL=25714
parent b4802dd5
# 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.
# DO NOT EDIT. Automatically generated by gobuild.
# gobuild -m >Makefile
O=6
GC=$(O)g
CC=$(O)c -w
AS=$(O)a
AR=$(O)ar
default: packages
clean:
rm -f *.$O *.a $O.out
test: packages
gotest
coverage: packages
gotest
6cov -g `pwd` | grep -v '_test\.go:'
%.$O: %.go
$(GC) $*.go
%.$O: %.c
$(CC) $*.c
%.$O: %.s
$(AS) $*.s
O1=\
token.$O\
O2=\
scanner.$O\
scanner.a: a1 a2
token.a: a1 a2
a1: $(O1)
$(AR) grc token.a token.$O
rm -f $(O1)
a2: $(O2)
$(AR) grc scanner.a scanner.$O
rm -f $(O2)
newpkg: clean
$(AR) grc scanner.a
$(AR) grc token.a
$(O1): newpkg
$(O2): a1
nuke: clean
rm -f $(GOROOT)/pkg/scanner.a $(GOROOT)/pkg/token.a
packages: scanner.a token.a
install: packages
cp scanner.a $(GOROOT)/pkg/scanner.a
cp token.a $(GOROOT)/pkg/token.a
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment