From 91ab2af24775b8813cacddc2fc32870302867369 Mon Sep 17 00:00:00 2001 From: Eduard Staniloiu Date: Fri, 18 Feb 2022 22:55:10 +0200 Subject: [PATCH] Address feedback --- makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/makefile b/makefile index bb62f9a..f037388 100644 --- a/makefile +++ b/makefile @@ -18,8 +18,8 @@ LIB_SRC := \ PROJECT_SRC := $(shell find src/ -name "*.d") SRC := $(LIB_SRC) $(PROJECT_SRC) -UT_OBJ_DIR = unittest-obj OBJ_DIR := obj +UT_OBJ_DIR = $(OBJ_DIR)/unittest OBJ = $(SRC:.d=.o) PROJECT_OBJ = $(PROJECT_SRC:.d=.o) LIB_OBJ = $(LIB_SRC:.d=.o) @@ -117,6 +117,8 @@ all: ${DSCANNER_BIN} ldc: ${DSCANNER_BIN} gdc: ${DSCANNER_BIN} +githash: ${GITHASH} + ${GITHASH}: mkdir -p bin && ${GIT} describe --tags --always > ${GITHASH} @@ -140,7 +142,6 @@ clean: rm -rf dsc rm -rf bin rm -rf ${OBJ_DIR} - rm -rf ${UT_OBJ_DIR} rm -f dscanner-report.json report: all