diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -7,10 +7,12 @@ ODIR := $(PWD)/bin SFILES := $(wildcard $(SDIR)/*.cpp) OFILES := $(patsubst $(SDIR)/%.cpp,$(ODIR)/%.o,$(SFILES)) -OUT := spacelike +OUT := systemviewer +GIT_VERSION := "$(shell git describe --abbrev=4 --dirty --always --tags)" CC := g++ CFLAGS := -std=c++20 -Wall -Wextra -MP -MD -I$(IDIR) -g -Wno-unused +CFLAGS += -DVERSION=\"$(GIT_VERSION)\" -include $(SDIR/:.cpp=.d) |