Use go Makefiles

This commit is contained in:
tj
2009-11-22 00:05:12 +01:00
parent f9ea765794
commit 841757090b
6 changed files with 51 additions and 36 deletions

View File

@@ -1,31 +1,6 @@
GOFILES = irc.go irc_struct.go
include $(GOROOT)/src/Make.$(GOARCH)
all: $(GOARCH)
clean: clean_$(GOARCH)
rm test
386:
8g $(GOFILES)
8g test.go
8l -o test test.8
amd64:
6g $(GOFILES)
6g test.go
6l -o test test.6
arm:
5g $(GOFILES)
5g test.go
5l -o test test.5
clean_amd64:
rm *.6
clean_386:
rm *.8
clean_arm:
rm *.5
TARG=irc
GOFILES=irc.go irc_struct.go
include $(GOROOT)/src/Make.pkg