build: release target also builds tools
This commit is contained in:
@@ -18,7 +18,7 @@ TOOL_DEBUG_BINS = ${TOOL_SRCS:S|^tools/|${.CURDIR}/${BIN_DIR}/debug/tools/|:S/
|
||||
TOOL_RELEASE_BINS = ${TOOL_SRCS:S|^tools/|${.CURDIR}/${BIN_DIR}/release/tools/|:S/.c$//}
|
||||
|
||||
debug: ${.CURDIR}/${BIN_DIR}/debug/${STATIC_LIB}
|
||||
release: ${.CURDIR}/${BIN_DIR}/release/${STATIC_LIB}
|
||||
release: ${.CURDIR}/${BIN_DIR}/release/${STATIC_LIB} ${TOOL_RELEASE_BINS}
|
||||
|
||||
tools: ${TOOL_DEBUG_BINS}
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ TOOL_RELEASE_BINS := $(TOOL_SRCS:tools/%.c=$(BIN_DIR)/release/tools/%$(TOOL_EXT)
|
||||
all: debug tools
|
||||
|
||||
debug: $(BIN_DIR)/debug/$(STATIC_LIB)
|
||||
release: $(BIN_DIR)/release/$(STATIC_LIB)
|
||||
release: $(BIN_DIR)/release/$(STATIC_LIB) $(TOOL_RELEASE_BINS)
|
||||
|
||||
tools: $(TOOL_DEBUG_BINS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user