# 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.inc

TARG=bitbucket.org/mikespook/gearman-go/src/pkg/gearman
GOFILES=\
	gearman.go\
	worker_job.go\
	worker_jobclient.go\
	worker.go\
	client_job.go\
	client.go\

CLEANFILES+=gearman_test

include $(GOROOT)/src/Make.pkg

%: install %.go
	$(GC) $*.go
	$(LD) -o $@ $*.$O

fmt:
	gofmt -spaces=true -tabwidth=4 -w=true -tabindent=false ./