Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Libretro
libretro-2048
Commits
6b2444f4
Commit
6b2444f4
authored
Dec 09, 2016
by
Gregor Richards
Browse files
Use the old library_version if git is unavailable at build time.
parent
f1337e45
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile.libretro
View file @
6b2444f4
...
...
@@ -29,8 +29,10 @@ else ifneq ($(findstring MINGW,$(shell uname -a)),)
endif
TARGET_NAME
:=
2048
GIT_VERSION
:=
"
$(
shell
git describe --abbrev=7 --dirty --always --tags
)
"
CFLAGS
+=
-DGIT_VERSION
=
\"
$(GIT_VERSION)
\"
GIT_VERSION
:=
"
$(
shell
git describe --abbrev=7 --dirty --always --tags || echo unknown
)
"
ifneq
($(GIT_VERSION),"unknown")
CFLAGS
+=
-DGIT_VERSION
=
\"
$(GIT_VERSION)
\"
endif
LIBM
:=
-lm
fpic
=
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment