summaryrefslogtreecommitdiff
path: root/exports/Makefile
diff options
context:
space:
mode:
authorStevenWdV <stevenwdv@gmail.com>2022-02-04 01:18:12 +0100
committerStevenWdV <stevenwdv@gmail.com>2022-02-04 01:18:12 +0100
commitb60ecf2fe5ddfe506e02093286b3931873187e91 (patch)
treeb3804b1b95e70e96dec98cb0c2b571e0b895ebdd /exports/Makefile
parentbb85487e40b47d701e64085e7574cb477a431f1e (diff)
More Makefile cleanup, support building in folder with spaces
Diffstat (limited to 'exports/Makefile')
-rw-r--r--exports/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/exports/Makefile b/exports/Makefile
index 67ddc61..cfb9604 100644
--- a/exports/Makefile
+++ b/exports/Makefile
@@ -1,6 +1,6 @@
.PHONY: build copy-to clean
-include platform.mk
+include common.mk
ifeq ($(LIB_SUFFIX),.so)
# Add SONAME as cgo does not currently do this. Mostly for Android, see https://stackoverflow.com/a/48291044
@@ -11,7 +11,7 @@ endif
build: lib/$(GOOS)/$(GOARCH)/$(LIB_FILE)
# Build shared library and remove lib prefix (if any) from header name
-# GOOS and GOARCH envvars are set by platform.mk
+# GOOS and GOARCH envvars are set by common.mk
# This extra target prevents unnecessary rebuild
lib/$(GOOS)/$(GOARCH)/$(LIB_FILE): exports.go ../verify.go
CGO_ENABLED=1 go build -o $@ -buildmode=c-shared $<