From fc5a3e59bfe790ca51cb260f9e42b79cfd353852 Mon Sep 17 00:00:00 2001 From: Yevhen Kozirovskyi Date: Thu, 7 Nov 2024 23:56:03 +0000 Subject: [PATCH] =?UTF-8?q?=D0=9E=D0=B1=D0=BD=D0=BE=D0=B2=D0=B8=D1=82?= =?UTF-8?q?=D1=8C=20cv6/Makefile?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- cv6/Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/cv6/Makefile b/cv6/Makefile index e69de29..3e6b3e8 100644 --- a/cv6/Makefile +++ b/cv6/Makefile @@ -0,0 +1,16 @@ +CC = gcc +CFLAGS = -Wall -Wextra -std=c99 -pedantic + +all: main + +main: main.o a_station.o + $(CC) $(CFLAGS) -o main main.o a_station.o + +main.o: main.c a_station.h + $(CC) $(CFLAGS) -c main.c + +a_station.o: a_station.c a_station.h + $(CC) $(CFLAGS) -c a_station.c + +clean: + rm -f *.o main