From 065984edbcc62f2adb2e4c31146a66e177b3ffc1 Mon Sep 17 00:00:00 2001 From: Gergő J. Miklós Date: Sat, 10 Oct 2020 16:49:23 +0200 Subject: makefile --- .gitignore | 1 + Makefile | 2 +- src/main.c | 5 +++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 3b47b1f..8148c1a 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *~ build/ +builder/ .vscode/ diff --git a/Makefile b/Makefile index c913718..3623794 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/src/main.c b/src/main.c index 2920a2a..383884d 100644 --- a/src/main.c +++ b/src/main.c @@ -11,6 +11,7 @@ #include +#include #include #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); -- cgit v1.2.3