Add my dist
This commit is contained in:
parent
1053f8e3c2
commit
a8b4e4358d
16 changed files with 807 additions and 23 deletions
14
2025.05.02/dist/Krivoruchenko_SK/Makefile
vendored
Normal file
14
2025.05.02/dist/Krivoruchenko_SK/Makefile
vendored
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
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 init_f.o
|
||||
gcc $(FLAGS) $^ -o $@ -lm
|
||||
%.o: %.c
|
||||
gcc -c $(FLAGS) $<
|
||||
|
||||
all: a01.out a02.out a03.out a04.out a07.out a08.out
|
||||
|
||||
solve.o: solve.c solve.h
|
||||
init_f.o: init_f.c init_f.h
|
||||
|
||||
clean:
|
||||
rm -f *.o *.out
|
||||
Loading…
Add table
Add a link
Reference in a new issue