diff --git a/Makefile b/Makefile index 2d08a64..0efc0bd 100644 --- a/Makefile +++ b/Makefile @@ -116,7 +116,9 @@ version-header: @echo "#ifndef CHROMA_VERSION_H" > $(INCDIR)/chroma_version.h @echo "#define CHROMA_VERSION_H" >> $(INCDIR)/chroma_version.h @echo "" >> $(INCDIR)/chroma_version.h + @echo "#ifndef CHROMA_VERSION" >> $(INCDIR)/chroma_version.h @echo "#define CHROMA_VERSION \"$(VERSION)\"" >> $(INCDIR)/chroma_version.h + @echo "#endif" >> $(INCDIR)/chroma_version.h @echo "" >> $(INCDIR)/chroma_version.h @echo "#endif // CHROMA_VERSION_H" >> $(INCDIR)/chroma_version.h