12 lines
195 B
Makefile
12 lines
195 B
Makefile
|
|
.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
|