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

12 lines
308 B
Makefile
Raw Normal View History

2021-01-27 11:02:15 +00:00
INSTALLDIR=/run/media/nico/KOBOeReader/.adds/gemini
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 14:46:31 +00:00
CGO_ENABLED=1 GOARCH=arm CC=arm-kobo-linux-gnueabihf-gcc CXX=arm-kobo-linux-gnueabihf-g++ go build -o build/kobo-gemini
2021-01-27 11:02:15 +00:00
2021-01-27 15:07:20 +00:00
update: build
cp kobo-gemini ${INSTALLDIR}
2021-01-27 14:46:31 +00:00
cp data/* ${INSTALLDIR}
chmod a+x ${INSTALLDIR}/*.sh