16 lines
573 B
Makefile
16 lines
573 B
Makefile
![]() |
include $(MAKE_INCLUDE_DIR)/Common.mk
|
||
|
include $(MAKE_INCLUDE_DIR)/VimbaC.mk
|
||
|
|
||
|
#Compile options needed for VimbaCPP
|
||
|
VIMBACPP_CFLAGS = -I$(VIMBASDK_DIR) $(VIMBAC_CFLAGS)
|
||
|
|
||
|
#Linker options needed for VimbaCPP
|
||
|
VIMBACPP_LIBS = -L$(BIN_DIR) -lVimbaCPP $(VIMBAC_LIBS) -Wl,-rpath-link,$(BIN_DIR)
|
||
|
|
||
|
#By default we copy libVimbaCPP.so next to the binary
|
||
|
$(BIN_DIR)/libVimbaCPP.so: $(BIN_DIR) VimbaC
|
||
|
$(CP) $(VIMBASDK_DIR)/VimbaCPP/DynamicLib/$(ARCH)_$(WORDSIZE)bit/libVimbaCPP.so $(BIN_DIR)/
|
||
|
|
||
|
#Operations we have to do in order to prepare VimbaCPP
|
||
|
VimbaCPP: $(BIN_DIR)/libVimbaCPP.so
|