Set makefile target binary to build inside the src directory

This commit is contained in:
Imbus 2024-03-27 06:34:08 +01:00
parent cabe3c579a
commit 2a8c600c22

View file

@ -15,7 +15,7 @@ SRCS := $(wildcard $(SRC_DIR)/*.c)
OBJS := $(patsubst $(SRC_DIR)/%.c,$(BUILD_DIR)/%.o,$(SRCS))
# Target executable
TARGET := CTree
TARGET := $(BUILD_DIR)/CTree
# Default target
all: $(TARGET)