diff options
| author | Loic Guegan <manzerbredes@mailbox.org> | 2023-08-12 16:35:10 +0200 |
|---|---|---|
| committer | Loic Guegan <manzerbredes@mailbox.org> | 2023-08-12 16:35:10 +0200 |
| commit | b2a6cd3c65c17e3474797095c2f61d4412f07496 (patch) | |
| tree | 700d28d5d882b6258ee16c0d8442df3306014719 /Makefile | |
| parent | 87edbc6e4f7cea130951adfd32484525461f2cbf (diff) | |
Minor changes
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -20,10 +20,20 @@ run: ina260.c insmod ina260.ko echo ina260 0x41 > /sys/bus/i2c/devices/i2c-2/new_device +run2: inahwmon.c + -echo 0x41 > /sys/bus/i2c/devices/i2c-2/delete_device + -rmmod inahwmon + make clean + make + insmod inahwmon.ko + echo ina260 0x41 > /sys/bus/i2c/devices/i2c-2/new_device + + read: read.c gcc $^ -o read clean: rm -f ina260*.o ina260.ko ina260.mod* Module.symvers modules.order .ina260* .Module* .modules* + rm -f inahwmon*.o inahwmon.ko inahwmon.mod* Module.symvers modules.order .inahwmon* .Module* .modules* .PHONY: clean run |
