Initial fork + minor fixes for BMP085 (mBar output) + shell scripts for ADS1115 and...
[i2c-telemetry.git] / Makefile
1
2 STAGING_DIR=/var/www/builder/data/trunk/build_ng/openwrt/staging_dir
3 export STAGING_DIR
4 CFLAGS=-I.
5 #
6 # Atheros
7 CC= ~/trunk/build_ng/openwrt/staging_dir/toolchain-mips_r2_gcc-4.6-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-uclibc-gcc
8 #
9 # Broadcom
10 #CC= ~/trunk/build_ng/openwrt/staging_dir/toolchain-mips_gcc-4.6-linaro_uClibc-0.9.33.2/bin/mips-openwrt-linux-uclibc-gcc
11
12
13
14 ina219:
15         $(CC) -o ina219 ina219.c
16
17 bmp085:
18         $(CC) -o bmp085 bmp085.c smbus.c
19
20 lm75:
21         $(CC) -o lm75 lm75.c
22
23 ds1621:
24         $(CC) -o ds1621 ds1621.c
25
26 bh1750:
27         $(CC) -o bh1750 bh1750.c smbus.c
28
29 lcdd:
30         $(CC) -o lcdd lcdd.c
31
32 mcp_rw:
33         $(CC) -o mcp mcp_rw.c smbus.c