aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
blob: ca19f5176918f940a0f352a48ebf7a32bc116f54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
CC = gcc
ACC = arm-linux-gnueabihf-gcc
CFLAGS = -Wall 

all: main copy


main: 
#		$(CC) $(CFLAGS) src/hmc5883.c src/hih61xx.c src/lm75.c src/main.c -o build/i2sensors
		$(ACC) $(CFLAGS) src/hmc5883.c src/hih61xx.c src/lm75.c src/main.c -o build/i2sensors-armhf


clean:
	rm -f build/i2sensors* 

copy:
	echo