i2cdriver/c/win32/Makefile

9 lines
214 B
Makefile
Raw Normal View History

2019-02-27 15:54:22 +00:00
CC = /usr/bin/i686-w64-mingw32-g++
CFLAGS += -I common -static-libgcc -static-libstdc++
all: build/i2ccl.exe
build/i2ccl.exe: win32/i2c.c common/i2cdriver.c
mkdir -p build/
$(CC) -o $@ $(CPPFLAGS) $(CFLAGS) $^