aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGergő J. Miklós2020-10-15 04:29:19 +0200
committerGergő J. Miklós2020-10-15 04:29:19 +0200
commit3a02ddd44e0952bd80254628e9db9d6a43ba9825 (patch)
tree82043984acc30e96624d2b9c72903adc932f4544 /Makefile
parentf54acfb6b701e5008887b9d15560abc3d8e1686d (diff)
downloadi2sensors-3a02ddd44e0952bd80254628e9db9d6a43ba9825.tar.gz
i2sensors-3a02ddd44e0952bd80254628e9db9d6a43ba9825.zip
i2c SMBUS function get
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 05a9a5b..255d599 100644
--- a/Makefile
+++ b/Makefile
@@ -11,13 +11,13 @@ dir:
mkdir -p build/
armhf:
- $(ACC) $(CFLAGS) $(VFLAGS) src/hmc5883.c src/hih61xx.c src/lm75.c src/main.c -o build/i2sensors-armhf
+ $(ACC) $(CFLAGS) $(VFLAGS) src/hmc5883.c src/hih61xx.c src/lm75.c src/main.c -o build/i2sensors-armhf -li2c
x86:
- $(CC) $(CFLAGS) $(VFLAGS) src/hmc5883.c src/hih61xx.c src/lm75.c src/main.c -o build/i2sensors
+ $(CC) $(CFLAGS) $(VFLAGS) src/hmc5883.c src/hih61xx.c src/lm75.c src/main.c -o build/i2sensors -li2c
geode:
- $(CC) $(CFLAGS) $(VFLAGS) -m32 -march=geode src/hmc5883.c src/hih61xx.c src/lm75.c src/main.c -o build/i2sensors
+ $(CC) $(CFLAGS) $(VFLAGS) -m32 -march=geode src/hmc5883.c src/hih61xx.c src/lm75.c src/main.c -o build/i2sensors -li2c
copy:
scp -r build/i2sensors-armhf root@cb2:/tmp/i2sensors