nihonium
/
mipt_clang
Archived
1
0
Fork 0
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

58 lines
1.8 KiB
Makefile

3 years ago
CC=gcc
CFLAGS=-Wall -lm -Wall -Werror=sign-compare -Werror=array-bounds -Werror=maybe-uninitialized -Werror=unused-parameter -Werror=maybe-uninitialized -Werror=cast-qual
EXECS=application_select warshall topological dijkstra prim kruskal
build_application: application_select.c
$(CC) $(CFLAGS) application_select.c -o application_select
application_run: application_select
3 years ago
@printf "Обычные данные\n"
3 years ago
cat application_select.data | ./application_select
3 years ago
@printf "Большие данные\n"
cat application_select_big.data | ./application_select
3 years ago
build_warshall: warshall.c
$(CC) $(CFLAGS) warshall.c -o warshall
warshall_run: warshall
3 years ago
@printf "Обычные данные\n"
3 years ago
cat warshall.data | ./warshall
3 years ago
@printf "Большие данные\n"
cat warshall_big.data | ./warshall
3 years ago
build_topological: topological.c
$(CC) $(CFLAGS) topological.c -o topological
topological_run: topological
3 years ago
@printf 'Обычные данные\n===Без циклов:===\n'
cat topological_good.data | ./topological
@printf "\n===С циклом:===\n"
cat topological_bad.data | ./topological
3 years ago
@printf "Большие данные\n"
cat topological_big.data | ./topological
3 years ago
build_dijkstra: dijkstra.c
$(CC) $(CFLAGS) dijkstra.c -o dijkstra
dijkstra_run: dijkstra
3 years ago
@printf "Обычные данные\n"
3 years ago
cat dijkstra.data | ./dijkstra
3 years ago
@printf "Большие данные\n"
cat dijkstra_big.data | ./dijkstra
3 years ago
build_prim: prim.c
$(CC) $(CFLAGS) prim.c -o prim
prim_run: prim
3 years ago
@printf "Обычные данные\n"
3 years ago
cat prim.data | ./prim
3 years ago
@printf "Большие данные\n"
cat prim_big.data | ./prim
3 years ago
build_kruskal: kruskal.c
$(CC) $(CFLAGS) kruskal.c -o kruskal
kruskal_run: kruskal
3 years ago
@printf "Обычные данные\n"
3 years ago
cat kruskal.data | ./kruskal
3 years ago
@printf "Большие данные\n"
cat kruskal_big.data | ./kruskal
3 years ago
clean:
rm -f $(EXECS)