17 lines
322 B
Makefile
17 lines
322 B
Makefile
all: lib build run clean
|
|
|
|
build:
|
|
gcc -m32 main.c -o demo_eksplicitno -ldl
|
|
|
|
run:
|
|
./demo_eksplicitno "Jaz Sem Velik" 2 5
|
|
|
|
clean:
|
|
rm -f demo_eksplicitno libXPO.a libXPO.o libXPO.so
|
|
|
|
lib:
|
|
gcc -m32 -c libXPO.c -o libXPO.o
|
|
gcc -m32 -shared -o libXPO.so libXPO.o
|
|
|
|
zip:
|
|
zip eksplicitno.zip Makefile libXPO.c libXPO.h main.c
|