2019-02-26 14:46:28 +00:00
|
|
|
CFLAGS += -I common -Wall -Wpointer-sign # -Werror
|
2019-02-23 18:22:33 +00:00
|
|
|
|
|
|
|
all: build/i2ccl
|
|
|
|
|
|
|
|
install: all
|
|
|
|
cp build/i2ccl /usr/local/bin
|
|
|
|
|
|
|
|
build/i2ccl: linux/i2c.c common/i2cdriver.c
|
|
|
|
mkdir -p build/
|
|
|
|
$(CC) -o $@ $(CPPFLAGS) $(CFLAGS) $^
|