Project Should be working
This commit is contained in:
parent
9136bc7740
commit
8eb004e775
10 changed files with 491 additions and 8 deletions
23
directories/makefile
Normal file
23
directories/makefile
Normal file
|
@ -0,0 +1,23 @@
|
|||
CC=gcc --std=gnu99 -g
|
||||
output=movies_by_year
|
||||
|
||||
all: movies_by_year.c movies_by_year.h csv_parser.o node.o input.o directory_list.o
|
||||
$(CC) movies_by_year.c csv_parser.o node.o input.o directory_list.o -o $(output)
|
||||
|
||||
csv_parser.o: csv_parser.c csv_parser.h
|
||||
$(CC) -c csv_parser.c -o csv_parser.o
|
||||
|
||||
node.o: node.c node.h
|
||||
$(CC) -c node.c -o node.o
|
||||
|
||||
input.o: input.h input.c
|
||||
$(CC) -c input.c -o input.o
|
||||
|
||||
directory_list.o: directory_list.c directory_list.h
|
||||
$(CC) -c directory_list.c -o directory_list.o
|
||||
|
||||
run:
|
||||
./movies_by_year movies_sample_1.csv
|
||||
|
||||
clean:
|
||||
rm -fr *.o vgcore.* temp.movies.* $(output)
|
Loading…
Add table
Add a link
Reference in a new issue