diff --git a/bmake.mk b/bmake.mk index 7ad75e5..f03eb89 100644 --- a/bmake.mk +++ b/bmake.mk @@ -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} diff --git a/gmake.mk b/gmake.mk index febf128..fd54666 100644 --- a/gmake.mk +++ b/gmake.mk @@ -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)