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) -o $@ $(APP).c `pkg-config gtk+-2.0 hildon-1 --cflags --libs` -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
19 install i2c.26.png $(DESTDIR)/usr/share/icons/hicolor/26x26/hildon/i2c_tiny_usb.png
20 install i2c.40.png $(DESTDIR)/usr/share/icons/hicolor/40x40/hildon/i2c_tiny_usb.png
21 install i2c.64.png $(DESTDIR)/usr/share/icons/hicolor/scalable/hildon/i2c_tiny_usb.png