diff options
author | Gergő J. Miklós | 2019-08-06 08:51:57 +0200 |
---|---|---|
committer | Gergő J. Miklós | 2019-08-06 08:51:57 +0200 |
commit | d8d87351acd4a8fef65db6a59993cbac99dc3bab (patch) | |
tree | 19b7173f3b3c905b9596b048e64473710d8fd109 /Makefile | |
parent | 812af485ea41fe162bb6fb888045318152bf2c66 (diff) | |
download | i2sensors-d8d87351acd4a8fef65db6a59993cbac99dc3bab.tar.gz i2sensors-d8d87351acd4a8fef65db6a59993cbac99dc3bab.zip |
qmc5883 initial
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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 |