1
0
mirror of https://github.com/simh/simh.git synced 2026-02-26 08:44:38 +00:00

Added an optional mechanism which will display the git commit id that produced the current simulator if the git commit id information is available

This commit is contained in:
Mark Pizzolato
2013-01-02 07:46:17 -08:00
parent 7c9cebf3b7
commit 35e66482b3
38 changed files with 227 additions and 117 deletions

View File

@@ -350,7 +350,7 @@ else
endif
endif
ifneq (,$(GIT_COMMIT_ID))
CFLAGS_GIT = -DSIM_GIT_COMMIT_ID=\"$(GIT_COMMIT_ID)\"
CFLAGS_GIT = -DSIM_GIT_COMMIT_ID=$(GIT_COMMIT_ID)
endif
ifneq ($(DEBUG),)
CFLAGS_G = -g -ggdb -g3