21 lines
324 B
Makefile
21 lines
324 B
Makefile
all: build run
|
|
|
|
debug: buildd run clean
|
|
|
|
zip:
|
|
zip naloga.zip main.c Makefile
|
|
|
|
build: main.c
|
|
gcc -m32 -O3 main.c -o demo_client
|
|
|
|
buildd: main.c
|
|
gcc -g -m32 main.c -o demo_client -fsanitize=address -fno-omit-frame-pointer
|
|
|
|
run:
|
|
./demo_client localhost 8003 test1
|
|
|
|
clean:
|
|
rm -f demo_client main
|
|
|
|
chm:
|
|
chmod 755 script.sh
|