diff options
Diffstat (limited to '8.1/Makefile')
-rw-r--r-- | 8.1/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
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) |