consolidate all repos to one for archive

This commit is contained in:
2025-01-28 13:46:42 +01:00
commit a6610fbc7a
5350 changed files with 2705721 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
all: build run
debug: buildd run clean
zip:
zip naloga.zip hello.c Makefile fun.c fun.h main.c
build: build_hello build_elf_changer
build_hello: hello.c
gcc -m32 hello.c -o hello
buildd: main.c fun.c
gcc -g -m32 main.c fun.c -o elf_changer -fsanitize=address -fno-omit-frame-pointer -Wall -Wextra -Wpedantic -Werror
build_elf_changer:
gcc -m32 main.c fun.c -o elf_changer -Wall -Wextra -Wpedantic -Werror
run:
./elf_changer -h hello
clean:
rm -f hello elf_changer