fix makefile
This commit is contained in:
parent
e1844b2df2
commit
a5038e0b1f
5
Makefile
5
Makefile
|
@ -2,9 +2,10 @@ INSTALLDIR=/run/media/nico/KOBOeReader/.adds/gemini
|
|||
|
||||
all: build update
|
||||
|
||||
build:
|
||||
build: main.go
|
||||
CGO_ENABLED=1 GOARCH=arm CC=arm-kobo-linux-gnueabihf-gcc CXX=arm-kobo-linux-gnueabihf-g++ go build -o build/kobo-gemini
|
||||
|
||||
update: build run.sh nickel.sh
|
||||
update: build
|
||||
cp kobo-gemini ${INSTALLDIR}
|
||||
cp data/* ${INSTALLDIR}
|
||||
chmod a+x ${INSTALLDIR}/*.sh
|
||||
|
|
Reference in New Issue