From d033d0e4cac6797095753a498e664977d918315e Mon Sep 17 00:00:00 2001 From: Marat Izmailov Date: Thu, 17 Oct 2024 17:50:10 +0000 Subject: [PATCH] Add cv4/Makefile --- cv4/Makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 cv4/Makefile diff --git a/cv4/Makefile b/cv4/Makefile new file mode 100644 index 0000000..ab961dd --- /dev/null +++ b/cv4/Makefile @@ -0,0 +1,17 @@ +CC = gcc +CFLAGS = -Wall -Wextra +TARGET = train_management + +all: $(TARGET) + +$(TARGET): main.o a_train.o + $(CC) $(CFLAGS) -o $(TARGET) main.o a_train.o + +main.o: main.c a_train.h + $(CC) $(CFLAGS) -c main.c + +a_train.o: a_train.c a_train.h + $(CC) $(CFLAGS) -c a_train.c + +clean: + rm -f $(TARGET) *.o