summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2023-08-12 15:27:40 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2023-08-12 15:27:40 +0200
commit87edbc6e4f7cea130951adfd32484525461f2cbf (patch)
tree99078f3986c31587b3f815517b64f4d2aa1d9e88 /Makefile
parent63656e1bd899ac1f5705d041349e8e459ee645a7 (diff)
Minor changes
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index f76db58..f96fbb5 100644
--- a/Makefile
+++ b/Makefile
@@ -2,9 +2,14 @@
#LML="/usr/src/linux-headers-$(shell uname -r)/"
LML="/lib/modules/$(shell uname -r)/build/" # Change if required on your system
-obj-m += ina260.o
+obj-m += inahwmon.o
-all: ina260.c
+all: hwmon
+
+ina260: ina260.c
+ make -C $(LML) M=$(PWD) modules
+
+hwmon: inahwmon.c
make -C $(LML) M=$(PWD) modules
run: ina260.c