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
39d0b102
Commit
39d0b102
authored
Jan 18, 2017
by
orbea
Browse files
Allow setting GIT_VERSION
parent
04df835b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Makefile.libretro
View file @
39d0b102
...
...
@@ -29,7 +29,7 @@ else ifneq ($(findstring MINGW,$(shell uname -a)),)
endif
TARGET_NAME
:=
2048
GIT_VERSION
:
=
"
$(
shell
git rev-parse --short HEAD || echo unknown
)
"
GIT_VERSION
?
=
"
$(
shell
git rev-parse --short HEAD || echo unknown
)
"
ifneq
($(GIT_VERSION)," unknown")
CFLAGS
+=
-DGIT_VERSION
=
\"
$(GIT_VERSION)
\"
endif
...
...
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