Updated Makefile to use gcc instead of g++.
This commit is contained in:
parent
64aee2d9e5
commit
424543cd99
4
Makefile
4
Makefile
@ -15,10 +15,10 @@ SOURCES_DIR := ./sources
|
|||||||
BUILD_DIR := ./build
|
BUILD_DIR := ./build
|
||||||
|
|
||||||
build: $(SOURCES_DIR)/main.cpp
|
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
|
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:
|
clean:
|
||||||
rm $(BUILD_DIR)/icfs
|
rm $(BUILD_DIR)/icfs
|
||||||
|
Loading…
Reference in New Issue
Block a user