From 0b1b9353b680bcece43c253cb19fc9bbbc8ce030 Mon Sep 17 00:00:00 2001 From: Jan200101 Date: Wed, 7 Jul 2021 15:39:12 +0200 Subject: correct main target to compile with C compiler, remove mentions of test target --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6e5c2ca..d27e837 100644 --- a/Makefile +++ b/Makefile @@ -84,7 +84,7 @@ OBJ_FILES := $(patsubst $(SRC_DIR)/%.c, $(OBJ_DIR)/%.$(OBJ_EXT), $(CC_SRC_ default: $(BIN_DIR)/$(NAME)$(OUT_EXT) .PHONY: all -all: $(BIN_DIR)/$(NAME)$(OUT_EXT) docs test +all: $(BIN_DIR)/$(NAME)$(OUT_EXT) docs $(BIN_DIR): ${MKDIR} $@ @@ -94,7 +94,7 @@ $(OBJ_DIR): $(BIN_DIR)/$(NAME)$(OUT_EXT): $(OBJ_FILES) | $(BIN_DIR) ${LINK_STATUS} - ${RECIPE_IF} ${CROSS}${CXX} -o$@ $^ ${CFLAGS} ${WARNFLAGS} ${STATICFLAGS} ${INCLUDEFLAGS} ${DEFINES} ${BINFLAGS} ${RECIPE_RESULT_LINK} + ${RECIPE_IF} ${CROSS}${CC} -o$@ $^ ${CFLAGS} ${WARNFLAGS} ${STATICFLAGS} ${INCLUDEFLAGS} ${DEFINES} ${BINFLAGS} ${RECIPE_RESULT_LINK} $(OBJ_DIR)/%.$(OBJ_EXT): $(SRC_DIR)/%.c | $(OBJ_DIR) -- cgit v1.2.3