gearman-go/src/pkg/gearman/Makefile
2011-09-06 16:34:38 +08:00

26 lines
477 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.inc
TARG=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 ./