Added last three homeworks
This commit is contained in:
parent
f7b2367bc4
commit
0e3d948c9f
363 changed files with 18214 additions and 0 deletions
15
2025.02.28/Linux/Makefile
Normal file
15
2025.02.28/Linux/Makefile
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
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
|
||||
|
||||
%.out: %.o solve.o array.o sort.o
|
||||
gcc $(FLAGS) $^ -o $@
|
||||
%.o: %.c
|
||||
gcc -c $(FLAGS) $<
|
||||
|
||||
all: a01.out a02.out a03.out a04.out a05.out a06.out a07.out a08.out a09.out
|
||||
|
||||
solve.o: solve.c solve.h
|
||||
array.o: array.c array.h
|
||||
sort.o: sort.c sort.h
|
||||
|
||||
clean:
|
||||
rm -f *.o *.out
|
||||
Loading…
Add table
Add a link
Reference in a new issue