mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-21 19:51:45 +00:00
Yet more library and prog/sensors stuff. LM75 data is now printed!
* Added sensors_get_algorithm_name and sensors_get_adapter_name to the library. * First application of sensors_get_value is very encouraging; LM75 data is now printed. git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@103 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
c9d9c6c682
commit
6ad35eaa33
4 files changed
+51
-10
No files matched your search
@@ -23,14 +23,14 @@ MODULE_DIR := prog/sensors
|
||||
# Regrettably, even 'simply expanded variables' will not put their currently
|
||||
# defined value verbatim into the command-list of rules...
|
||||
PROGSENSORSTARGETS := $(MODULE_DIR)/sensors
|
||||
PROGSENSORSSOURCES := $(MODULE_DIR)/main.c
|
||||
PROGSENSORSSOURCES := $(MODULE_DIR)/main.c $(MODULE_DIR)/chips.c
|
||||
|
||||
# Include all dependency files. We use '.rd' to indicate this will create
|
||||
# executables.
|
||||
INCLUDEFILES += $(PROGSENSORSSOURCES:.c=.rd)
|
||||
|
||||
$(PROGSENSORSTARGETS): $(PROGSENSORSSOURCES:.c=.ro) lib/$(LIBSHBASENAME)
|
||||
$(CC) -o $@ $^ -Llib -lsensors
|
||||
$(CC) -o $@ $(PROGSENSORSSOURCES:.c=.ro) -Llib -lsensors
|
||||
|
||||
all-prog-sensors: $(PROGSENSORSTARGETS)
|
||||
all :: all-prog-sensors
|
||||
|
||||
Reference in new issue
Block a user