From b60eadf76f92d7f8878fcbec6de7ab6ea4572a89 Mon Sep 17 00:00:00 2001 From: StevenWdV Date: Fri, 3 Dec 2021 12:31:30 +0100 Subject: Add initial Python wheel support --- exports/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'exports') diff --git a/exports/Makefile b/exports/Makefile index 801692b..087d3a2 100644 --- a/exports/Makefile +++ b/exports/Makefile @@ -1,4 +1,4 @@ -.PHONY: build clean +.PHONY: build copy-to clean lib_prefix_linux = lib lib_prefix_windows = @@ -19,5 +19,8 @@ build: $(GOOS)/$(GOARCH)/$(LIB_PREFIX)eduvpn_verify$(LIB_SUFFIX) $(GOOS)/$(GOARCH)/$(LIB_PREFIX)eduvpn_verify$(LIB_SUFFIX): exports.go ../verify.go CGO_ENABLED=1 GOOS=$(GOOS) GOARCH=$(GOARCH) go build -o $@ -buildmode=c-shared $< +copy-to: $(GOOS)/$(GOARCH)/$(LIB_PREFIX)eduvpn_verify$(LIB_SUFFIX) + install $< -Dt "$(COPY_TARGET)" + clean: rm -rf ../exports/*/ -- cgit v1.2.3