aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan200101 <sentrycraft123@gmail.com>2021-07-07 15:39:12 +0200
committerJan200101 <sentrycraft123@gmail.com>2021-07-07 15:39:12 +0200
commit0b1b9353b680bcece43c253cb19fc9bbbc8ce030 (patch)
treec33cb749af4d8c43f8671534a30cc390ddbedf88
parentecaa59963c8b77801bf20c4e888b83a922125b36 (diff)
downloadpolecat-0b1b9353b680bcece43c253cb19fc9bbbc8ce030.tar.gz
polecat-0b1b9353b680bcece43c253cb19fc9bbbc8ce030.zip
correct main target to compile with C compiler, remove mentions of test target
-rw-r--r--Makefile4
1 files 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)