aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGergő J. Miklós2019-08-06 08:51:57 +0200
committerGergő J. Miklós2019-08-06 08:51:57 +0200
commitd8d87351acd4a8fef65db6a59993cbac99dc3bab (patch)
tree19b7173f3b3c905b9596b048e64473710d8fd109 /Makefile
parent812af485ea41fe162bb6fb888045318152bf2c66 (diff)
downloadi2sensors-d8d87351acd4a8fef65db6a59993cbac99dc3bab.tar.gz
i2sensors-d8d87351acd4a8fef65db6a59993cbac99dc3bab.zip
qmc5883 initial
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index 0c9b0c1..c84246a 100644
--- a/Makefile
+++ b/Makefile
@@ -2,15 +2,13 @@ CC = gcc
ACC = arm-linux-gnueabihf-gcc
CFLAGS = -Wall
-all: armhf copy
-#copy
-
+all: x86 copy
armhf:
- $(ACC) $(CFLAGS) src/hmc5883.c src/hih61xx.c src/lm75.c src/main.c -o build/i2sensors-armhf
+ $(ACC) $(CFLAGS) src/qmc5883.c src/hih61xx.c src/lm75.c src/main.c -o build/i2sensors-armhf
x86:
- $(CC) $(CFLAGS) src/hmc5883.c src/hih61xx.c src/lm75.c src/main.c -o build/i2sensors
+ $(CC) $(CFLAGS) src/qmc5883.c src/hih61xx.c src/lm75.c src/main.c -o build/i2sensors
copy:
scp -r build/i2sensors-armhf root@cb2:/tmp/i2sensors