Task 8 is done
This commit is contained in:
parent
2efd819d0f
commit
98a608ce96
22 changed files with 1270 additions and 0 deletions
21
2025.04.18/dist/Ryabov_AD/Makefile
vendored
Normal file
21
2025.04.18/dist/Ryabov_AD/Makefile
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
all: a01.out a02.out a03.out a04.out a05.out a06.out a07.out a08.out
|
||||
|
||||
CFLAGS = -O3 -mfpmath=sse -fstack-protector-all -W -Wall -Wextra -Wunused -Wcast-align -Werror -pedantic -pedantic-errors \
|
||||
-Wfloat-equal -Wpointer-arith -Wformat-security -Wmissing-format-attribute -Wformat=1 -Wwrite-strings -Wcast-align -Wno-long-long \
|
||||
-std=gnu99 -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wold-style-definition -Wdeclaration-after-statement -Wbad-function-cast \
|
||||
-Wnested-externs -Wmaybe-uninitialized -lm
|
||||
|
||||
a%.out: task%.o solve.o massiv_io.o
|
||||
gcc $(CFLAGS) $^ -o $@ -lm
|
||||
|
||||
task%.o: task%.c io_status.h massiv_io.h solve.h
|
||||
gcc -c $(CFLAGS) $<
|
||||
|
||||
massiv_io.o: massiv_io.c massiv_io.h
|
||||
gcc -c $(CFLAGS) massiv_io.c
|
||||
|
||||
solve.o: solve.c solve.h
|
||||
gcc -c $(CFLAGS) solve.c
|
||||
|
||||
clean:
|
||||
rm *.o
|
||||
Loading…
Add table
Add a link
Reference in a new issue