goirc/Makefile

29 lines
658 B
Makefile
Raw Normal View History

# 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
2010-10-13 19:10:24 +00:00
TARG=rbot
2010-10-27 01:21:51 +00:00
GOFILES=rbot.go handler.go auth.go cmd-access.go cmd-op.go cmd-google.go
include $(GOROOT)/src/Make.cmd
2010-10-16 19:38:40 +00:00
all: rbot.conf auth.conf
2010-10-14 00:09:48 +00:00
rbot.conf: rbot.conf.example
@if [ -f $@ ] ; then \
echo "rbot.conf exists, but rbot.conf.example is newer." ; \
else \
echo cp $< $@ ; \
cp $< $@ ; \
fi
2010-10-16 19:38:40 +00:00
auth.conf: auth.conf.example
@if [ -f $@ ] ; then \
echo "auth.conf exists, but auth.conf.example is newer." ; \
else \
echo cp $< $@ ; \
cp $< $@ ; \
fi