Написал две задачи к Автотесту

This commit is contained in:
AZEN-SGG 2024-12-11 18:04:54 +03:00
parent b4cb5098c2
commit 19e0da8dc6
9 changed files with 295 additions and 1 deletions

37
Session/1Ex/makefile Normal file
View file

@ -0,0 +1,37 @@
CFLAGS = -mfpmath=sse \
-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 \
-O2 \
-D_DEBUG -g \
-c
all: main.o
gcc main.o -lssp && del *.o
a.exe
main.o: main.c
gcc $(CFLAGS) main.c