Added support for building garbled binaries (https://github.com/burrowers/garble.git)

This commit is contained in:
Russ Magee 2022-06-16 22:45:25 -07:00
parent a4af720280
commit ee19787b5e
7 changed files with 51 additions and 6 deletions

View file

@ -1,12 +1,18 @@
.PHONY: info clean lib
ifeq ($(GARBLE),y)
GO = garble -tiny -literals -debugdir=garbled
else
GO = go
endif
all: lib
clean:
go clean .
lib: info
go install .
$(GO) install .
ifneq ($(MSYSTEM),)
info: