2021-09-08 21:48:00 +10:00
|
|
|
# Link command:
|
2021-09-11 22:47:44 +10:00
|
|
|
voronoi2: common.o towers.o dcel.o voronoi.o input.o main.o
|
2021-09-13 12:27:17 +10:00
|
|
|
gcc -Wall -Wextra -Werror -pedantic -g -o voronoi2 main.o input.o voronoi.o dcel.o towers.o common.o
|
2021-09-08 21:48:00 +10:00
|
|
|
|
2021-09-13 12:27:17 +10:00
|
|
|
# Compilation commands
|
2021-09-08 21:48:00 +10:00
|
|
|
common.o: common.c
|
|
|
|
gcc -Wall -Wextra -Werror -pedantic -g -o common.o common.c -c
|
|
|
|
|
2021-09-11 22:47:44 +10:00
|
|
|
towers.o: towers.c
|
|
|
|
gcc -Wall -Wextra -Werror -pedantic -g -o towers.o towers.c -c
|
2021-09-09 17:10:24 +10:00
|
|
|
|
2021-09-08 21:48:00 +10:00
|
|
|
dcel.o: dcel.c
|
|
|
|
gcc -Wall -Wextra -Werror -pedantic -g -o dcel.o dcel.c -c
|
|
|
|
|
|
|
|
voronoi.o: voronoi.c
|
|
|
|
gcc -Wall -Wextra -Werror -pedantic -g -o voronoi.o voronoi.c -c
|
|
|
|
|
|
|
|
input.o: input.c
|
|
|
|
gcc -Wall -Wextra -Werror -pedantic -g -o input.o input.c -c
|
2021-09-13 12:27:17 +10:00
|
|
|
|
|
|
|
main.o: main.c
|
|
|
|
gcc -Wall -Wextra -Werror -pedantic -g -o main.o main.c -c
|