refactor(build): reorganize makefiles and split test targets

This commit is contained in:
user
2026-07-20 22:59:36 +04:00
parent 86153e967b
commit 31d1fbdb8a
9 changed files with 96 additions and 216 deletions
+18
View File
@@ -0,0 +1,18 @@
CXXFLAGS += \
-I$(ROOT_DIR)/core/include
TARGET := $(BUILD_DIR)/result_test
SRC := result_test.cpp
.PHONY: all clean
all: $(TARGET)
$(TARGET)
$(TARGET): $(SRC)
@mkdir -p $(BUILD_DIR)
$(CC) $(CXXFLAGS) $^ -o $@ $(LDLIBS)
clean:
rm -f $(TARGET)