From 424543cd9974bc55dbd27947a4e91ea3b0ca32fd Mon Sep 17 00:00:00 2001 From: fedir Date: Mon, 18 Nov 2024 18:46:30 +0100 Subject: [PATCH] Updated Makefile to use gcc instead of g++. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index ed04fd3..b45d4b9 100644 --- a/Makefile +++ b/Makefile @@ -15,10 +15,10 @@ SOURCES_DIR := ./sources BUILD_DIR := ./build build: $(SOURCES_DIR)/main.cpp - $(CXX) $(O_CFLAGS) $(I_CFLAGS) $(SOURCES_DIR)/main.cpp $(O_LDFLAGS) $(I_LDFLAGS) -o $(BUILD_DIR)/icfs + $(CC) $(O_CFLAGS) $(I_CFLAGS) $(SOURCES_DIR)/main.cpp $(O_LDFLAGS) $(I_LDFLAGS) -o $(BUILD_DIR)/icfs dev-build: $(SOURCES_DIR)/main.cpp - $(CXX) $(O_CFLAGS_DEBUG) $(I_CFLAGS) $(SOURCES_DIR)/main.cpp $(O_LDFLAGS_DEBUG) $(I_LDFLAGS) -o $(BUILD_DIR)/icfs + $(CC) $(O_CFLAGS_DEBUG) $(I_CFLAGS) $(SOURCES_DIR)/main.cpp $(O_LDFLAGS_DEBUG) $(I_LDFLAGS) -o $(BUILD_DIR)/icfs clean: rm $(BUILD_DIR)/icfs