From 2a5a57e16f216a9bf8933345014c91f198bb1215 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Mon, 15 May 2023 15:55:53 +0530 Subject: 8.1: initial commit --- 8.1/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 8.1/Makefile (limited to '8.1/Makefile') diff --git a/8.1/Makefile b/8.1/Makefile new file mode 100644 index 0000000..84ef405 --- /dev/null +++ b/8.1/Makefile @@ -0,0 +1,13 @@ +objects = main.o filecopy.o error.o +CC = gcc +CFLAGS = -Wvla -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -fsanitize=address + +cat : $(objects) + $(CC) $(CFLAGS) -o cat $(objects) + +main.o : error.h +filecopy.o : error.h + +.PHONY : clean +clean: + rm -f cat $(objects) -- cgit v1.2.3