~psic4t/qcal

qcal/Makefile -rw-r--r-- 444 bytes
d972eecdpsic4t fix Google readonly calendars. RW does and will not work though. 2 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
PREFIX  ?= /usr/local

qcal: clean
	GOOS=linux GOARCH=amd64 go build -o qcal -ldflags="-s -w"

linux-arm:
	GOOS=linux GOARCH=arm go build -o qcal -ldflags="-s -w"

darwin:	
	GOOS=darwin GOARCH=amd64 go build -o qcal -ldflags="-s -w"

windows:
	GOOS=windows GOARCH=amd64 go build -o qcal.exe -ldflags="-s -w"

clean:
	rm -f qcal

install: 
	install -d $(PREFIX)/bin/
	install -m 755 qcal $(PREFIX)/bin/qcal

uninstall:
	rm -f $(PREFIX)/bin/qcal