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

@ -8,11 +8,11 @@ CFLAGS = -mfpmath=sse -fstack-protector-all -W -Wall -Wextra -Wunused \
-Wwrite-strings -Wno-long-long -std=gnu99 -Wstrict-prototypes \
-Wmissing-field-initializers -Wpointer-sign -fopenmp -O3
TARGET = a01.exe
TARGET = a01.out
OBJ = main.o solve.o array_io.o init_f.o
$(TARGET): $(OBJ)
gcc $^ -o $@ -lm -fopenmp -lssp
gcc $^ -o $@ -lm -fopenmp
main.o: main.c
gcc $(CFLAGS) -c $^
@ -27,4 +27,4 @@ init_f.o: init_f.c
gcc $(CFLAGS) -c $^
clean:
del *.o *.exe
rm *.o *.out