Add dist ans Task 5 is done!
This commit is contained in:
parent
4a5c5ea41e
commit
2f21a20fd1
21 changed files with 970 additions and 37 deletions
15
2025.04.18/dist/Krivoruchenko_SK/Makefile
vendored
Normal file
15
2025.04.18/dist/Krivoruchenko_SK/Makefile
vendored
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
FLAGS = -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 -O3
|
||||
|
||||
%.out: %.o solve.o array_io.o contin_func.o
|
||||
gcc $(FLAGS) $^ -o $@ -lm
|
||||
%.o: %.c
|
||||
gcc -c $(FLAGS) $<
|
||||
|
||||
all: a01.out a02.out a03.out a04.out a05.out
|
||||
|
||||
solve.o: solve.c solve.h
|
||||
array_io.o: array_io.c array_io.h
|
||||
contin_func.o: contin_func.c contin_func.h
|
||||
|
||||
clean:
|
||||
rm -f *.o *.out
|
||||
Loading…
Add table
Add a link
Reference in a new issue