This repository has been archived on 2021-02-14. You can view files and clone it, but cannot push or open issues or pull requests.
kobo-gemini/Makefile

11 lines
279 B
Makefile
Raw Permalink Normal View History

2021-02-05 13:18:57 +00:00
INSTALLDIR=/mnt/onboard/.adds/gemini
2021-01-27 11:02:15 +00:00
2021-01-27 14:46:31 +00:00
all: build update
2021-01-27 11:02:15 +00:00
2021-01-27 15:07:20 +00:00
build: main.go
2021-01-27 15:26:46 +00:00
CGO_ENABLED=1 GOARCH=arm CC=arm-kobo-linux-gnueabihf-gcc CXX=arm-kobo-linux-gnueabihf-g++ go build -o kobo-gemini
2021-01-27 11:02:15 +00:00
2021-01-27 15:07:20 +00:00
update: build
2021-02-05 13:18:57 +00:00
scp kobo-gemini root@kobo:${INSTALLDIR}
scp data/* root@kobo:${INSTALLDIR}