Merge pull request #21 from raidenii/master

fix git version flag
This commit is contained in:
Autechre 2021-03-05 00:02:05 +01:00 committed by GitHub
commit f2cec67d9b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,7 +3,7 @@ WANT_ZIP=0
TARGET_NAME := race
GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)"
ifneq ($(GIT_VERSION)," unknown")
CXXFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
FLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
endif
ifeq ($(platform),)