Address feedback
This commit is contained in:
parent
223580438a
commit
91ab2af247
5
makefile
5
makefile
|
@ -18,8 +18,8 @@ LIB_SRC := \
|
||||||
PROJECT_SRC := $(shell find src/ -name "*.d")
|
PROJECT_SRC := $(shell find src/ -name "*.d")
|
||||||
SRC := $(LIB_SRC) $(PROJECT_SRC)
|
SRC := $(LIB_SRC) $(PROJECT_SRC)
|
||||||
|
|
||||||
UT_OBJ_DIR = unittest-obj
|
|
||||||
OBJ_DIR := obj
|
OBJ_DIR := obj
|
||||||
|
UT_OBJ_DIR = $(OBJ_DIR)/unittest
|
||||||
OBJ = $(SRC:.d=.o)
|
OBJ = $(SRC:.d=.o)
|
||||||
PROJECT_OBJ = $(PROJECT_SRC:.d=.o)
|
PROJECT_OBJ = $(PROJECT_SRC:.d=.o)
|
||||||
LIB_OBJ = $(LIB_SRC:.d=.o)
|
LIB_OBJ = $(LIB_SRC:.d=.o)
|
||||||
|
@ -117,6 +117,8 @@ all: ${DSCANNER_BIN}
|
||||||
ldc: ${DSCANNER_BIN}
|
ldc: ${DSCANNER_BIN}
|
||||||
gdc: ${DSCANNER_BIN}
|
gdc: ${DSCANNER_BIN}
|
||||||
|
|
||||||
|
githash: ${GITHASH}
|
||||||
|
|
||||||
${GITHASH}:
|
${GITHASH}:
|
||||||
mkdir -p bin && ${GIT} describe --tags --always > ${GITHASH}
|
mkdir -p bin && ${GIT} describe --tags --always > ${GITHASH}
|
||||||
|
|
||||||
|
@ -140,7 +142,6 @@ clean:
|
||||||
rm -rf dsc
|
rm -rf dsc
|
||||||
rm -rf bin
|
rm -rf bin
|
||||||
rm -rf ${OBJ_DIR}
|
rm -rf ${OBJ_DIR}
|
||||||
rm -rf ${UT_OBJ_DIR}
|
|
||||||
rm -f dscanner-report.json
|
rm -f dscanner-report.json
|
||||||
|
|
||||||
report: all
|
report: all
|
||||||
|
|
Loading…
Reference in New Issue