diff --git a/Makefile b/Makefile index 9d24238..a793e04 100644 --- a/Makefile +++ b/Makefile @@ -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) @@ -38,4 +38,4 @@ clean: rm -rf $(BUILD_DIR) $(TARGET) # Mark rules as phony -.PHONY: all run clean \ No newline at end of file +.PHONY: all run clean