Files
cpp17-threaded-app-non-thre…/tests/app/Makefile
T

24 lines
379 B
Makefile
Raw Normal View History

2026-07-20 23:00:56 +04:00
CXXFLAGS += \
-I$(ROOT_DIR)/app/include \
-I$(ROOT_DIR)/logger/include \
-Ihelpers
TARGET := $(BUILD_DIR)/app_test
SRC := \
$(ROOT_DIR)/app/src/message_queue.cpp \
helpers/thread_test_utils.cpp \
message_queue_test.cpp
.PHONY: all clean
all: $(TARGET)
$(TARGET)
$(TARGET): $(SRC)
@mkdir -p $(BUILD_DIR)
$(CC) $(CXXFLAGS) $^ -o $@ $(LDLIBS)
clean:
rm -f $(TARGET)