aboutsummaryrefslogblamecommitdiff
path: root/8.1/Makefile
blob: 84ef405c7e96eeb7ce0695088e0d16d678186ddd (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
12
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)