Rev Author Line No. Line
3331 kaklik 1 #
2 # Makefile
3 #
4  
5 APP = i2c_usb
6  
7 all: $(APP)
8  
9 clean:
10 rm -f $(APP)
11  
12 $(APP): $(APP).c
13 $(CC) -Wall -o $@ $(APP).c -lusb
14  
15 install:
16 install $(APP) $(DESTDIR)/usr/bin
17 install i2c_tiny_usb.rules $(DESTDIR)/etc/udev/rules.d
18 install i2c_tiny_usb.desktop $(DESTDIR)/usr/share/applications/hildon