Skip to content
Snippets Groups Projects
Commit ddb52b18 authored by T.Wadi's avatar T.Wadi
Browse files

Makefile changes

parent f41638ee
No related branches found
No related tags found
No related merge requests found
......@@ -31,13 +31,13 @@ BUILD_DIR = build
C_SRCS = $(wildcard $(SOURCE_DIR)/*.c)
C_OBJECTS = $(patsubst $(SOURCE_DIR)/%.c, $(BUILD_DIR)/%.o, $(C_SRCS))
build: $(BUILD_DIR)/$(EXECUTABLE_NAME)
build:$(EXECUTABLE_NAME)
$(BUILD_DIR)/$(EXECUTABLE_NAME): $(C_OBJECTS)
$(EXECUTABLE_NAME): $(C_OBJECTS)
$(C_COMPILER_CALL) $^ -o $@
execute:
./$(BUILD_DIR)/$(EXECUTABLE_NAME)
./$(EXECUTABLE_NAME)
clean:
rm $(BUILD_DIR)/*.o
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment