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

@ -2,8 +2,14 @@
EXE = $(notdir $(shell pwd))
ifeq ($(GARBLE),y)
GO=garble -literals -tiny -debugdir=garbled
else
GO = go
endif
all:
go build .
$(GO) build .
clean:
$(RM) $(EXE) $(EXE).exe