1 --- a/src/libXNVCtrl/Makefile
2 +++ b/src/libXNVCtrl/Makefile
5 LIBXNVCTRL = libXNVCtrl.a
7 +LIBXNVCTRL_SHARED = $(OUTPUTDIR)/libXNVCtrl.so
9 LIBXNVCTRL_PROGRAM_NAME = "libXNVCtrl"
11 LIBXNVCTRL_VERSION := $(NVIDIA_VERSION)
13 $(LIBXNVCTRL) : $(OBJS)
16 +$(LIBXNVCTRL_SHARED): $(LIBXNVCTRL_OBJ)
18 + $(CC) -shared -Wl,-soname=$(@F).0 -o $@.0.0.0 $(LDFLAGS) $^ -lXext -lX11
19 + ln -s $(@F).0.0.0 $@.0
22 # define the rule to build each object file
23 $(foreach src,$(SRC),$(eval $(call DEFINE_OBJECT_RULE,TARGET,$(src))))