Use git version as library_version
This commit is contained in:
@@ -37,6 +37,10 @@ else ifneq ($(findstring MINGW,$(shell uname -a)),)
|
||||
endif
|
||||
|
||||
TARGET_NAME := fceumm
|
||||
GIT_VERSION := " $(shell git rev-parse --short HEAD || echo unknown)"
|
||||
ifneq ($(GIT_VERSION)," unknown")
|
||||
CFLAGS += -DGIT_VERSION=\"$(GIT_VERSION)\"
|
||||
endif
|
||||
LIBM := -lm
|
||||
|
||||
# Unix
|
||||
|
||||
Reference in New Issue
Block a user