Added support for some NVML sensors.
GPU temp sensor and clock reasons.
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
.PHONY : clean debug
|
||||
|
||||
OBJS = evga-icx.o evga-card.o icx3.o
|
||||
LDLIBS = -li2c
|
||||
CFLAGS = -MD
|
||||
|
||||
ifdef USE_NVML
|
||||
LDLIBS += -lnvidia-ml
|
||||
CFLAGS += -DUSE_NVML
|
||||
OBJS += nvidia-sensors.o
|
||||
endif
|
||||
|
||||
evga-icx : $(OBJS)
|
||||
|
||||
debug : CFLAGS += -g -O0
|
||||
debug : evga-icx
|
||||
|
||||
clean :
|
||||
rm evga-icx
|
||||
rm *.o
|
||||
rm *.d
|
||||
|
||||
-include $(OBJS:.o=.d)
|
||||
Reference in New Issue
Block a user