Add .zip Archive
This commit is contained in:
parent
3c3c94b028
commit
056e721d9a
34 changed files with 718 additions and 559 deletions
8
2025.05.02/dist/Krivoruchenko_SK/Makefile
vendored
8
2025.05.02/dist/Krivoruchenko_SK/Makefile
vendored
|
|
@ -1,6 +1,6 @@
|
|||
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
|
||||
|
||||
OBJ_COMMON = solve.o init_f.o polynom.o array_io.o
|
||||
OBJ_COMMON = init_f.o array_io.o polynom.o
|
||||
|
||||
NUMS = 1 2 3 4 5 6 7 8 9
|
||||
|
||||
|
|
@ -9,10 +9,10 @@ OUTS = $(foreach n,$(NUMS),$(shell printf "a%02d.out\n" "$(n)"))
|
|||
all: $(OUTS)
|
||||
|
||||
%.o: %.c
|
||||
gcc -c $(FLAGS) $<
|
||||
-gcc -c $(FLAGS) $<
|
||||
|
||||
a%.out: a%.o $(OBJ_COMMON)
|
||||
gcc $(FLAGS) $^ -o $@ -lm
|
||||
a%.out: main_%.o solve_%.o $(OBJ_COMMON)
|
||||
-gcc $(FLAGS) $^ -o $@ -lm
|
||||
|
||||
clean:
|
||||
rm -f *.o *.out
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue