Support building with golang and gcc-go

This commit is contained in:
Solomon Peachy 2018-05-14 07:24:25 -04:00
parent 3932ee89bb
commit 3fa8413d2a
1 changed files with 8 additions and 1 deletions

View File

@ -1,5 +1,12 @@
selphy: selphy.go
selphy-golang: selphy.go
@echo " ** Compiling with golang"
go build selphy.go
selphy-gccgo: selphy.go
@echo " ** Compiling with gccgo"
gccgo -o selphy selphy.go
all: selphy-golang
clean:
rm -f selphy