makefile fix

This commit is contained in:
msaarna@gmail.com 2020-05-20 00:20:59 -04:00
parent 6da97c2995
commit e360686f8c

View file

@ -19,7 +19,7 @@ SOURCES = src/mame/drivers/a7800.cpp
# REGENIE = 1
# VERBOSE = 1
# NOWERROR = 1
NOWERROR = 1
IGNORE_GIT = 1
# TARGET = mame
@ -1551,14 +1551,14 @@ endif
ifeq (posix,$(SHELLTYPE))
$(GENDIR)/version.cpp: $(GENDIR)/git_desc | $(GEN_FOLDERS)
@echo '#define BARE_BUILD_VERSION "0.188-04-SNAPSHOT"' > $@
@echo '#define BARE_BUILD_VERSION "4.0"' > $@
@echo 'extern const char bare_build_version[];' >> $@
@echo 'extern const char build_version[];' >> $@
@echo 'const char bare_build_version[] = BARE_BUILD_VERSION;' >> $@
@echo 'const char build_version[] = BARE_BUILD_VERSION " A7800";' >> $@
else
$(GENDIR)/version.cpp: $(GENDIR)/git_desc
@echo #define BARE_BUILD_VERSION "0.188-04-SNAPSHOT" > $@
@echo #define BARE_BUILD_VERSION "4.0" > $@
@echo extern const char bare_build_version[]; >> $@
@echo extern const char build_version[]; >> $@
@echo const char bare_build_version[] = BARE_BUILD_VERSION; >> $@