Unify version string

Specified version string in makefile will now propogate to VERSION as a
macro appended to CFLAGS.

Cleaned up version string, quotes not necessary when specifying
major/minor/micro, though this is purely cosmetic.

Signed-off-by: Kevin Pearson <pearosn.kevin.m@gmail.com>
This commit is contained in:
Kevin Pearson committed 2017-04-26 10:07:00 -04:00
1 parent ca1ecadf98
commit 47e2468681
3 files changed
+9 -6

No files matched your search

+4 -3
View File
@@ -16,10 +16,11 @@ includedir?=$(prefix)/include
# Program & versioning information
PROGN=g810-led
MAJOR="0"
MINOR="2"
MICRO="0"
MAJOR=0
MINOR=2
MICRO=0
CFLAGS+=-DVERSION=\"$(MAJOR).$(MINOR).$(MICRO)\"
APPSRCS=src/main.cpp src/helpers/*.cpp src/helpers/*.h
LIBSRCS=src/classes/*.cpp src/classes/*.h