Start Task 2

This commit is contained in:
AZEN-SGG 2025-03-25 17:54:48 +03:00
parent 8a7aac7c23
commit de8589e39c
83 changed files with 1474 additions and 175 deletions

View file

@ -29,7 +29,7 @@ CFLAGS = -mfpmath=sse \
-c
all: main.o array.o
gcc main.o array.o -lssp && del *.o
gcc main.o array.o && rm *.o
main.o: main.c
gcc $(CFLAGS) main.c

View file

@ -29,7 +29,7 @@ CFLAGS = -mfpmath=sse \
-c
all: main.o array.o
gcc main.o array.o -lssp && del *.o
gcc main.o array.o && rm *.o
main.o: main.c
gcc $(CFLAGS) main.c

View file

@ -29,7 +29,7 @@ CFLAGS = -mfpmath=sse \
-c
all: main.o array.o
gcc main.o array.o -lssp && del *.o
gcc main.o array.o && rm *.o
main.o: main.c
gcc $(CFLAGS) main.c

View file

@ -29,7 +29,7 @@ CFLAGS = -mfpmath=sse \
-c
all: main.o array.o
gcc main.o array.o -lssp && del *.o
gcc main.o array.o && rm *.o
main.o: main.c
gcc $(CFLAGS) main.c

View file

@ -29,7 +29,7 @@ CFLAGS = -mfpmath=sse \
-c
all: main.o array.o
gcc main.o array.o -lssp && del *.o
gcc main.o array.o && rm *.o
main.o: main.c
gcc $(CFLAGS) main.c

View file

@ -1,7 +1,7 @@
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
a07.exe: main.o solve.o
gcc main.o solve.o -o a07.exe -lssp
a07.out: main.o solve.o
gcc main.o solve.o -o a07.out
main.o: main.c
gcc $(CFLAGS) -c main.c
@ -10,4 +10,4 @@ solve.o: solve.c
gcc $(FLAGS) -c solve.c
clean:
del *.o *.exe
rm *.o *.out

View file

@ -1,7 +1,7 @@
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
a08.exe: main.o solve.o
gcc main.o solve.o -o a08.exe -lssp
a08.out: main.o solve.o
gcc main.o solve.o -o a08.out
main.o: main.c
gcc $(CFLAGS) -c main.c
@ -10,4 +10,4 @@ solve.o: solve.c
gcc $(FLAGS) -c solve.c
clean:
del *.o *.exe
rm *.o *.out

View file

@ -29,7 +29,7 @@ CFLAGS = -mfpmath=sse \
-c
all: main.o array.o
gcc main.o array.o -lssp && del *.o
gcc main.o array.o && rm *.o
main.o: main.c
gcc $(CFLAGS) main.c