Commit 9cc8254d authored by Alessandro Abrami's avatar Alessandro Abrami
Browse files

2021/10/15:

	Aggiornato RELEASE/REPO
parent 55d7a5a1
RELEASE := GIT:: $(shell git describe --dirty)
CXXFLAGS += -D'RELEASE="$(RELEASE)"'
REPO := GIT:: $(shell git config --get remote.origin.url)
LOC_REPO := GIT:: $(shell git rev-parse --show-toplevel)
CXXFLAGS += -D'REPO="$(LOC_REPO)"'
SUBMODULES +=
REL_SRCS_0 += $(shell find . -name "*.cpp" -exec grep -l -e RELEASE -e REPO -e SUBMODULES {} \;)
REL_SRCS += $(subst ./,, $(REL_SRCS_0))
REL_OBJS += $(addprefix obj/,$(notdir $(REL_SRCS:.cpp=.o)))
.PHONY: tags_clean
tags_clean:
@rm -f $(REL_OBJS)
NAME_SRV = pespccdstage-srv
all: tags_clean bin/$(NAME_SRV)
CXXFLAGS =
LDFLAGS = -litpp
......@@ -71,17 +73,13 @@ else
CXXFLAGS += -I /runtime/include/libaxisutils
endif
RELEASE := GIT:: $(shell git describe --dirty)
CXXFLAGS += -D'RELEASE="$(RELEASE)"'
REPO := GIT:: $(shell git config --get remote.origin.url)
LOC_REPO := GIT:: $(shell git rev-parse --show-toplevel)
CXXFLAGS += -D'REPO="$(LOC_REPO)"'
include Make-libhist.in
OBJ_FILES += $(EXTRA_OBJS)
include ../makefiles/Make-9.3.3.in
include Make-Release.in
LDFLAGS += -laxisutils
ifeq ($(HAVE_SAFETYMANGER), yes)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment