#
# library
#
MYLIB=example
MYLIB_OBJ=funexample.o

$(MYLIB): $(MYLIB_OBJ)
	$(CC) -shared -o libexample.so  $(MYLIB_OBJ)


funexample.o:  funexample.c
	$(CC) -fpic -c funexample.c
	
# 
# export LD_LIBRARY_PATH=.
#







syntax highlighted by Code2HTML, v. 0.9.1