Restructure for Go

This commit is contained in:
Neale Pickett 2014-08-12 19:27:08 -06:00
parent 8d165d1a07
commit d40627874c
3 changed files with 7 additions and 6 deletions

View File

@ -1,8 +1,9 @@
all: irc.cgi irc all: wirc.cgi wirc
%: %.go export GOPATH = $(CURDIR)
go build $<
irc.cgi: irc.cgi.go %:
go build irc.cgi.go go build $@
chmod +s irc.cgi
wirc.cgi:
go build $@