Загрузка данных


smaugmol@us-r3:~/D09T06_ID_1577487-1/src$ cat main_executable_module/Makefile
CC = gcc
CFLAGS = -Wall -Wextra -Werror -std=c11
BUILD_DIR = ../../build
TARGET = $(BUILD_DIR)/Quest_3

SOURCES = main_executable_module.c \
          ../data_libs/data_io.c \
          ../data_libs/data_stat.c \
          ../data_module/data_process.c \
          ../yet_another_decision_module/decision.c

all: $(TARGET)

$(TARGET): $(SOURCES)
        mkdir -p $(BUILD_DIR)
        $(CC) $(CFLAGS) $(SOURCES) -o $(TARGET) -lm

clean:
        rm -f $(TARGET)

rebuild: clean all

.PHONY: all clean rebuild
smaugmol@us-r3:~/D09T06_ID_1577487-1/src$ git status --short
 M main_executable_module/Makefile
 M main_executable_module/main_executable_module.c
?? ../build/