evga-icx/Makefile
moosecrap 4c5321bc4e Added support for some NVML sensors.
GPU temp sensor and clock reasons.
2025-02-02 21:42:30 -08:00

23 lines
302 B
Makefile

.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)