aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
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