diff options
| author | StevenWdV <stevenwdv@gmail.com> | 2021-12-03 12:31:30 +0100 |
|---|---|---|
| committer | StevenWdV <stevenwdv@gmail.com> | 2021-12-03 12:31:30 +0100 |
| commit | b60eadf76f92d7f8878fcbec6de7ab6ea4572a89 (patch) | |
| tree | dc5f54de407721ef45f3e9860642efe43bfe6b2a /exports | |
| parent | e4744fd94236944569bfed27af80a604b7668e4b (diff) | |
Add initial Python wheel support
Diffstat (limited to 'exports')
| -rw-r--r-- | exports/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
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/*/ |
