
- Removed obsolete Matvei source files (tasks 01–04, array/matrix/io_status modules, Makefile) - Introduced new Linux-compatible structure in Linux/Matvei - Updated build logic via new Makefile - Adjusted .gitignore to exclude new artifacts
14 lines
670 B
Makefile
14 lines
670 B
Makefile
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
|
|
|
|
%.exe: %.o array.o comparison.o
|
|
gcc $(FLAGS) $^ -o $@ -lm
|
|
%.o: %.c
|
|
gcc -c $(FLAGS) $<
|
|
|
|
all: a01.exe a02.exe a03.exe a04.exe a05.exe a06.exe a07.exe a08.exe a09.exe a10.exe
|
|
|
|
array.o: array.c array.h
|
|
comparison.o: comparison.c comparison.h
|
|
|
|
clean:
|
|
del *.o *.exe
|