From f2905cbd901bd54e2cf9358289aed7a0527fd51c Mon Sep 17 00:00:00 2001 From: Gergő J. Miklós Date: Sat, 10 Oct 2020 21:57:32 +0200 Subject: makefile --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3