compile targets
This commit is contained in:
parent
321f2e0e53
commit
1829dfb466
15
Makefile
15
Makefile
@ -1,7 +1,10 @@
|
||||
build:
|
||||
go build main.go
|
||||
run:
|
||||
go run main.go
|
||||
clean:
|
||||
rm -rf test.db main
|
||||
FLAGS=-v -buildvcs=true
|
||||
ARM_FLAGS2=GOOS=linux GOARCH=arm64 CC=aarch64-linux-gnu-gcc CC_FOR_TARGET=aarch64-linux-gnu-gcc
|
||||
ARM_FLAGS=GOOS=linux GOARCH=arm
|
||||
|
||||
all:
|
||||
go build $(FLAGS)
|
||||
raspberry:
|
||||
CGO_ENABLED=1 $(ARM_FLAGS) go build $(FLAGS) -o th7_pi
|
||||
clean:
|
||||
rm -rf th7 th7_pi
|
Loading…
Reference in New Issue
Block a user