Merge pull request #1 from cxiao/uaarg-camera-usage

Added function pointer to sample_loading.c, modified Makefile to build m...
preprocessor def during lib linking