Commit 2425ca08 authored by Matthias Wenzl's avatar Matthias Wenzl
Browse files

update build an usage info

parent 23872a33
CC = gcc
CFLAGS = -O2 -I include
SHARED = -fPIC -shared
LIBNAME = libfvs.s.o.1
SHARED = -fPIC -shared -Wl,-soname,$(LIBNAME)
SRCPATH = source
INCPATH = include
FVSCFILES = $(wildcard $(SRCPATH)/*.c)
......@@ -72,7 +72,9 @@ Implement the above steps in a file `fvs_main.c`. To build, test and run the
final application you will need to link against the shared library.
gcc -Wall -Wextra --pedantic -lfvs -L. -I./include fvs_main.c -o fvs
gcc -Wall -Wextra --pedantic -I./include fvs_main.c -o fvs -Wl,-rpath,/absolute/path/fvs_lib_public -L/absolute/path/fvs_lib_public libfvs.s.o.1
./fvs ../fvs_data_base/1_1.bmp
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment