mirror of https://github.com/nealey/spongy
Restructure for Go
This commit is contained in:
parent
8d165d1a07
commit
d40627874c
13
Makefile
13
Makefile
|
@ -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 $@
|
||||||
|
|
Loading…
Reference in New Issue