17 lines
317 B
Makefile
17 lines
317 B
Makefile
all: lib build run
|
|
|
|
build:
|
|
gcc -m32 main.c -o demo_implicitno -L. -lXPO
|
|
|
|
run:
|
|
./demo_implicitno "Jaz Sem Velik" 2 5
|
|
|
|
clean:
|
|
rm -f demo_implicitno 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 implicitno.zip Makefile libXPO.c libXPO.h main.c
|