Makefile 236 B

12345678910111213141516
  1. all: generate build
  2. generate:
  3. ${GOPATH}/bin/gogdc generate --path="./src"
  4. build:
  5. go build -v -buildmode=c-shared -o ./bin/libsimple.so ./src/*.go
  6. clean:
  7. go clean
  8. rm ./bin/libsimple.so
  9. rm ./src/*_registrable.gen.go
  10. .PHONY: all