diff options
author | Gergő J. Miklós | 2020-10-10 16:49:23 +0200 |
---|---|---|
committer | Gergő J. Miklós | 2020-10-10 16:49:23 +0200 |
commit | 065984edbcc62f2adb2e4c31146a66e177b3ffc1 (patch) | |
tree | 5c2ff92083e1acd2baaf1de9a998cd4ed645c113 | |
parent | 6bbb8b9e6639125b5539bd8d14e422a9c79c3f0a (diff) | |
download | i2sensors-065984edbcc62f2adb2e4c31146a66e177b3ffc1.tar.gz i2sensors-065984edbcc62f2adb2e4c31146a66e177b3ffc1.zip |
makefile
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | src/main.c | 5 |
3 files changed, 5 insertions, 3 deletions
@@ -1,3 +1,4 @@ *~ build/ +builder/ .vscode/ @@ -13,7 +13,7 @@ x86: $(CC) $(CFLAGS) src/hmc5883.c src/hih61xx.c src/lm75.c src/main.c -o build/i2sensors geode: - $(CC) $(CFLAGS) -m32 -mtune=geode -march=geode src/hmc5883.c src/hih61xx.c src/lm75.c src/main.c -o build/i2sensors + $(CC) $(CFLAGS) -m32 -march=geode src/hmc5883.c src/hih61xx.c src/lm75.c src/main.c -o build/i2sensors copy: scp -r build/i2sensors-armhf root@cb2:/tmp/i2sensors @@ -11,6 +11,7 @@ #include <linux/i2c-dev.h> +#include <linux/i2c.h> #include <sys/ioctl.h> #include "deftypes.h" @@ -18,8 +19,8 @@ #include "hih61xx.h" #include "hmc5883.h" -#define VERSION 1.24 - +#define VERSION 1.25 + // extern void lm75_print_help(void); // extern void lm75_read_all(const char *opts); // extern void lm75_read_one(const char *opts); |