esp32-sensornode/main/component.mk

9 lines
253 B
Makefile
Raw Normal View History

#
# "main" pseudo-component makefile.
#
# (Uses default behaviour of compiling all source files in directory, adding 'include' to include path.)
PROJ_GIT_VER := $(shell git describe --always --tags --dirty)
CPPFLAGS += -D PROJ_VER=\"$(PROJ_GIT_VER)\"