consolidate all repos to one for archive
This commit is contained in:
23
semester_4/namenska_programska_oprema/Naloga_4/Makefile
Normal file
23
semester_4/namenska_programska_oprema/Naloga_4/Makefile
Normal 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
|
Reference in New Issue
Block a user