Makefile: do not append master branch name

This commit is contained in:
James R 2022-08-26 10:46:02 -07:00
parent 1b4fe4e13d
commit ad242cf9b9

View file

@ -242,7 +242,7 @@ endif
ifndef EXENAME
base:=ringracers
branch:=$(shell git symbolic-ref -q --short HEAD)
EXENAME:=$(base)$(call _,$(branch))$(exesuffix)
EXENAME:=$(base)$(call _,$(filter-out master,$(branch)))$(exesuffix)
endif
DBGNAME?=$(EXENAME).debug