qbolt/Makefile

12 lines
196 B
Makefile
Raw Normal View History

2017-05-16 07:34:54 +00:00
.PHONY: all clean
2017-05-20 02:57:19 +00:00
all: qbolt.a
2017-05-16 07:34:54 +00:00
clean:
2017-05-20 02:57:19 +00:00
if [ -f qbolt.a ] ; then rm qbolt.a ; fi
2017-05-16 07:34:54 +00:00
if [ -f qbolt ] ; then rm qbolt ; fi
2017-05-20 02:57:19 +00:00
qbolt.a: *.go
go build -ldflags='-s -w' -buildmode=c-archive -o qbolt.a