qbolt/Makefile

12 lines
195 B
Makefile
Raw Normal View History

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