17 lines
283 B
Makefile

all: lib build run
build:
gcc -m32 main.c -o demo_staticno libXPO.a
run:
./demo_staticno "Jaz Sem Velik" 5 6
clean:
rm -f demo_staticno libXPO.a libXPO.o
lib:
gcc -m32 -c libXPO.c -o libXPO.o
ar rcs libXPO.a libXPO.o
zip:
zip staticno.zip Makefile libXPO.c libXPO.h main.c