2009-11-29 20:23:15 +00: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.
|
|
|
|
|
2010-08-29 20:24:47 +00:00
|
|
|
include $(GOROOT)/src/Make.inc
|
2009-11-29 20:23:15 +00:00
|
|
|
|
2010-10-13 19:10:24 +00:00
|
|
|
TARG=rbot
|
2009-11-29 20:23:15 +00:00
|
|
|
GOFILES=\
|
2010-10-13 19:10:24 +00:00
|
|
|
rbot.go\
|
2009-11-29 20:23:15 +00:00
|
|
|
|
|
|
|
include $(GOROOT)/src/Make.cmd
|
|
|
|
|
2010-10-14 00:09:48 +00:00
|
|
|
all: rbot.conf
|
|
|
|
|
|
|
|
rbot.conf: rbot.conf.example
|
|
|
|
@if [ -f $@ ] ; then \
|
|
|
|
echo "rbot.conf exists, but rbot.conf.example is newer." ; \
|
|
|
|
else \
|
|
|
|
echo cp $< $@ ; \
|
|
|
|
cp $< $@ ; \
|
|
|
|
fi
|