diff options
author | Jan200101 <sentrycraft123@gmail.com> | 2021-07-07 15:39:12 +0200 |
---|---|---|
committer | Jan200101 <sentrycraft123@gmail.com> | 2021-07-07 15:39:12 +0200 |
commit | 0b1b9353b680bcece43c253cb19fc9bbbc8ce030 (patch) | |
tree | c33cb749af4d8c43f8671534a30cc390ddbedf88 /Makefile | |
parent | ecaa59963c8b77801bf20c4e888b83a922125b36 (diff) | |
download | polecat-0b1b9353b680bcece43c253cb19fc9bbbc8ce030.tar.gz polecat-0b1b9353b680bcece43c253cb19fc9bbbc8ce030.zip |
correct main target to compile with C compiler, remove mentions of test target
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |