Skip to content

Commit

Permalink
build: add ability to specify release targets (#14957)
Browse files Browse the repository at this point in the history
My make knowledge is very very limited, so if there's a better way to do
this please let me know! This seems to work and lets me cut one off
builds easily.
  • Loading branch information
schmichael authored Oct 19, 2022
1 parent 6e34e3f commit d59dc3d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,11 @@ ifeq (FreeBSD,$(THIS_OS))
ALL_TARGETS = freebsd_amd64
endif

# Allow overriding ALL_TARGETS via $TARGETS
ifdef TARGETS
ALL_TARGETS = $(TARGETS)
endif

SUPPORTED_OSES = Darwin Linux FreeBSD Windows MSYS_NT

CGO_ENABLED = 1
Expand Down

0 comments on commit d59dc3d

Please sign in to comment.