Rev Author Line No. Line
3331 kaklik 1 #
2 # Makefile.xmingw
3 #
4  
5 XMINGW_ROOT = /usr/local/cross-tools/bin
6  
7 CC = $(XMINGW_ROOT)/i386-mingw32msvc-gcc
8  
9 APP = i2c_usb
10  
11 all: $(APP).exe
12  
13 clean:
14 rm -f $(APP).exe
15  
16 $(APP).exe: $(APP).c
17 $(CC) -Wall -DWIN -o $@ $(APP).c -lusb
18  
19