th7/Makefile

10 lines
271 B
Makefile
Raw Normal View History

2023-11-21 22:33:20 +00:00
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
2023-11-21 14:45:14 +00:00
2023-11-21 22:33:20 +00:00
all:
go build $(FLAGS)
raspberry:
CGO_ENABLED=1 $(ARM_FLAGS) go build $(FLAGS) -o th7_pi
clean:
rm -rf th7 th7_pi