aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorGergő J. Miklós2020-10-10 21:57:32 +0200
committerGergő J. Miklós2020-10-10 21:57:32 +0200
commitf2905cbd901bd54e2cf9358289aed7a0527fd51c (patch)
treec1b261267afa0721ab037d2ee34d1da3d171b946 /Makefile
parent065984edbcc62f2adb2e4c31146a66e177b3ffc1 (diff)
downloadi2sensors-f2905cbd901bd54e2cf9358289aed7a0527fd51c.tar.gz
i2sensors-f2905cbd901bd54e2cf9358289aed7a0527fd51c.zip
makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3623794..9a0081f 100644
--- a/Makefile
+++ b/Makefile
@@ -2,9 +2,11 @@ CC = gcc
ACC = arm-linux-gnueabihf-gcc
CFLAGS = -Wall
-all: armhf copy
+all: dir x86
#copy
+dir:
+ mkdir -p build/
armhf:
$(ACC) $(CFLAGS) src/hmc5883.c src/hih61xx.c src/lm75.c src/main.c -o build/i2sensors-armhf