All archs
This commit is contained in:
32
Makefile
32
Makefile
@@ -1,7 +1,31 @@
|
|||||||
all:
|
GOFILES = irc.go irc_struct.go
|
||||||
8g irc.go irc_struct.go
|
|
||||||
|
all: $(GOARCH)
|
||||||
|
|
||||||
|
clean: clean_$(GOARCH)
|
||||||
|
rm test
|
||||||
|
|
||||||
|
386:
|
||||||
|
8g $(GOFILES)
|
||||||
8g test.go
|
8g test.go
|
||||||
8l -o test test.8
|
8l -o test test.8
|
||||||
|
|
||||||
clean:
|
x64:
|
||||||
rm *.8 *.6 test
|
6g $(GOFILES)
|
||||||
|
6g test.go
|
||||||
|
6l -o test test.6
|
||||||
|
|
||||||
|
arm:
|
||||||
|
5g $(GOFILES)
|
||||||
|
5g test.go
|
||||||
|
5l -o test test.5
|
||||||
|
|
||||||
|
clean_x64:
|
||||||
|
rm *.6
|
||||||
|
|
||||||
|
clean_386:
|
||||||
|
rm *.8
|
||||||
|
|
||||||
|
clean_arm:
|
||||||
|
rm *.5
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user